Integer
Integer-24
Integer-25
Integer-26
~/algor $ cat problems/integer-raqamlarni-chapga-surish
Rotate the digits left
Easy
1000 ms
64 MB
15%
A three-digit positive integer $n$ is given. Find the number obtained by moving its first digit to the end: $123$ gives $231$. Leading zeros of the result are not written: for example, $105$ gives $51$.
Input
One three-digit positive integer $n$.
Output
One integer — the resulting number.
Note
$100 \le n \le 999$
Examples
Input #1
123
Output #1
231
Input #2
105
Output #2
51