#include <bits/stdc++.h> using namespace std; int main( ) { long x; cin>>x; cout<<(x<<16)<<(x>>16); return 0; }