Three-digit number n was divided by 10. When the last digit of n was appended to the quotient from the left, we got x. Find x if n is known.
Three-digit positive integer n.
Print the number x.