#PCBTAM0000011. Mã hồ sơ từ số thứ tự (Record Code)

Mã hồ sơ từ số thứ tự (Record Code)

Record Code

Version: Phuoc Hung OJ Extended

Problem Statement

A record code consists of text prefix ss, a hyphen -, and a nonnegative serial number nn. The number must occupy at least four decimal digits. Pad it on the left with zero digits if necessary.

The width of four is a minimum: if nn has four or more digits, preserve all digits.

Input

The first line contains prefix ss. The second line contains nonnegative integer nn.

Output

Print the record code: prefix, hyphen, then the padded number, with no inserted spaces.

Subtasks

  • Subtask 1 (100 points): 1≤∣s∣≤201\le |s|\le20; 0≤n≤1060\le n\le10^6; ss consists only of ASCII letters.

Examples

Example 1

Input

TS
7

Output

TS-0007

Explanation. Pad 77 with three zeros to get 0007, then prepend TS-.

Example 2

Input

A
1234

Output

A-1234

Explanation. 12341234 already occupies four digits, so the result is A-1234.

Example 3

Input

ID
10000

Output

ID-10000

Explanation. 1000010000 occupies five digits and is not truncated: ID-10000.