Problem list
Log in
#joi00077 · JOI 2023 Preliminary 1C

2 桁の整数 (Two-digit Integer)

Bronze V 2.0 s 1024 MB

2 つの数字 A, B が与えられる.

十の位が A であり,一の位が B である 2 桁の正の整数を出力せよ.

Input

入力は以下の形式で与えられる.

A

B

Output

十の位が A であり,一の位が B である 2 桁の正の整数を出力せよ.

入力例 1

2

2

出力例 1

22

十の位が 2 であり,一の位が 2 である 2 桁の正の整数は 22 であるため, 22 を出力する.

入力例 2

1

0

出力例 2

10

十の位が 1 であり,一の位が 0 である 2 桁の正の整数は 10 であるため, 10 を出力する.

入力例 3

1

9

出力例 3

19

Constraints

A は 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 9 のいずれかである.

B は 0 , 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 9 のいずれかである.

Example 1

Input
2
2
Output
22

Example 2

Input
1
0
Output
10

Example 3

Input
1
9
Output
19
Source
JOI 2023 Preliminary 1C
Appears in
Not part of a ladder, contest or set yet.
Accepted 0 Submissions 0 Acceptance 0% Solvers 0

Discussion

Threads about this problem. Spoilers are collapsed; wrap hints in ||double bars||.

No discussion yet. Start a thread if something here needs explaining.

Recent submissions Open with filters
Code