Bessie's bovine thought processes occasionally take her into mathematical realms unfathomed by her barn-mates.
She watched the cows walk by with their serial numbers (1 <= serial_number <= 999,999) on display. She thought perhaps the numbers might have more interesting properties if one calculated the sum of the number and the reverse of that number. Help her perform this calculation.
Here are some examples:
.
23 + 32 = 55
123 + 321 = 444
9730 + 379 = 10109
输入描述:
Line 1: A single integer that is the serial number to be transformed
输出描述:
Line 1: A single integer that is the transformed serial number