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

Задача 3953. New number - 4


Задача

Темы: Целые числа
Given a four-digit number. Write a program that finds a number obtained by reading its digits from right to left.

Sample input and output
test number Input Output
1 4561 1654