Time limit
2s
Memory limit
128 MB
For a positive integer X, define Rev(X) as the integer obtained by reading the decimal digits of X in reverse order. Any leading zeroes created by the reversal are discarded. For instance, Rev(123) is 321, and Rev(100) is 1.
Given two positive integers X and Y, compute Rev(Rev(X) + Rev(Y)).
The first line contains two integers X and Y. Both X and Y are natural numbers no greater than 1,000.
Print the answer on the first line.