#P188B. A + Reverse B

    普及- ID: 7924 远端评测题 2000ms 256MiB 尝试: 0 已通过: 0 难度: 4 上传者: 标签>*special problemimplementation*1300

A + Reverse B

Description

You are given numbers a and b. Calculate the sum of a and reverse of b. A reverse of a number is a number which contains the same digits in reverse order. For example, reverse of 230 is 32, and reverse of 0 is 0.

The input contains two integers a and b (0 ≤ a, b ≤ 109), separated by a single space. The numbers are given without leading zeros.

Output the sum of a and reverse of b.

Input

The input contains two integers a and b (0 ≤ a, b ≤ 109), separated by a single space. The numbers are given without leading zeros.

Output

Output the sum of a and reverse of b.

5 15

73 9180

56

892