Given a four-digit number. Write a program that gets a new number formed by permuting the second and third digits of a given number. Display the sum of the original and new numbers, following the output from the example.
Example
# |
Input |
Output |
1 |
2561 |
2561+2651=5212 |