#include #define rep(i,n) for(int i=0;i<(n);i++) using namespace std; int main(){ string s; getline(cin,s); swap(s[0],s[2]); cout<