#include <iostream> #include <conio.h> using namespace std; int main() { int a; cin>>a; cout<<a%10<<a/10; getch(); }