codeforces#P188B. A + Reverse B
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.
Samples
5 15
56
73 9180
892