#include using namespace std; using ll=long long; #define pb push_back #define pf push_front #define mp make_pair #define fi first #define se second #define All(s) s.begin(),s.end() #define rAll(s) s.rbegin(),s.rend() #define rep(i, n) for(int i = 0; i < n; i++) #define rep2(i, a, n) for(int i = (a); i < (n); i++) #define repr(i, n) for(int i = (n); i >= 0; i--) #define repr2(i, a, n) for(int i = (n); i >= (a); i--) template void Inparray(T &f,U n){ for(int i=0;i>f[i]; } template void Printarray(T f,U n){ for(int i=0;i>m; ll ans = 1; for (int i = 0; i < 128; i++) { ans *= 2; ans %= m; } cout << ans << endl; }