#include using namespace std; typedef long long ll; typedef pair P; #define REP(i,n) for(int i=0;i> S; if(S[0]<='9' && S[0]>='1'){ cout << S << endl; return 0; } string s=S.substr(1); cout << (1LL<<32)-stoll(s) << endl; return 0; }