10764 - test123   

Description

Enter a three-digit number A(its elements contain1~9 , and does not contain 0) . For example:789 . Your programm  will reverse the numerical  order (789 -> 987) , it is B . And then add the A and B (789+987) . Output the sum .

Input

Enter a three-digit number A(its elements contain1~9 , and does not contain 0) .For example:789.

Output

Output the A + B result.Note that you do not need to print ‘\n’ at the end of the output.

Sample Input  Download

Sample Output  Download

Tags

how to write



Discuss