Four digit positive integer is given. Swap the first and the last digit in it.
One four digit positive integer n.
Print the resulting number.