#include<iostream> #include<cstdio> using namespace std; int main(){ int a,b; scanf("%3d%d",&a,&b); cout<<b<<a; return 0; }