A - Feet 解説 /

実行時間制限: 2 sec / メモリ制限: 1024 MiB

配点 : 100

問題文

1 フィートは 12 インチです。

A フィート B インチは、インチ換算で何インチですか?

制約

  • 1 \leq A \leq 8
  • 0 \leq B \leq 11
  • 入力される値はすべて整数

入力

入力は以下の形式で標準入力から与えられる。

A B

出力

答えを 1 行に出力せよ。単位 (インチ) は省いて出力すること。


入力例 1

6 7

出力例 1

79

6 フィート 7 インチは、インチ換算で 6 \times 12 + 7 = 79 インチです。


入力例 2

4 11

出力例 2

59

4 フィート 11 インチは、インチ換算で 4 \times 12 + 11 = 59 インチです。


入力例 3

8 0

出力例 3

96

8 フィート 0 インチは、インチ換算で 8 \times 12 + 0 = 96 インチです。

Score : 100 points

Problem Statement

1 foot is 12 inches.

How many inches is A feet B inches?

Constraints

  • 1 \leq A \leq 8
  • 0 \leq B \leq 11
  • All input values are integers.

Input

The input is given from Standard Input in the following format:

A B

Output

Output the answer in one line. Omit the unit (inches).


Sample Input 1

6 7

Sample Output 1

79

6 feet 7 inches is 6 \times 12 + 7 = 79 inches.


Sample Input 2

4 11

Sample Output 2

59

4 feet 11 inches is 4 \times 12 + 11 = 59 inches.


Sample Input 3

8 0

Sample Output 3

96

8 feet 0 inches is 8 \times 12 + 0 = 96 inches.