Task
Time limit:
1000 ms,
Memory limit:
32 Mb
A four-digit number is given. Write a program that displays the number formed by rearranging the first and second, third and fourth digits of a given number
Input: given an integer
Output: output a new number
Example
N |
Input |
Output |
1 |
4561 |
5416 |
Prohibited statements:sep;format