#include using namespace std; #define FOR(i,a,b) for (int i=(a);i<(b);i++) #define RFOR(i,a,b) for (int i=(b)-1;i>=(a);i--) #define REP(i,n) for (int i=0;i<(n);i++) #define RREP(i,n) for (int i=(n)-1;i>=0;i--) typedef long long LL; #define dp_size 1000001 LL N; LL a[1000001];//100^x LL solve(LL x,LL mod){//x^100を求める //cout<0){ if(x%2==1){ ans=(ans*a[count])%mod; } count++; x/=2; } //cout<>N; /*REP(i,9){ cout<