Олимпиадный тренинг

Задача 3950. New number - 6


Задача

Темы: Целые числа
Given a four-digit number. Write a program that displays the number formed by interchanging the first and fourth, third and second digits of a given number

Sample input and output
test number Input Output
1 4561 1654