n = int(input()) a = n // 10b = n % 10 print(b * 10 + a)
47
74
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!