#include #include #include using namespace std; using namespace atcoder; using mint = modint998244353; #define rep(i,n) for (int i = 0; i < (n); ++i) #define Inf32 1000000001 #define Inf64 4000000000000000001LL int main(){ int n; cin>>n; vector a(n); rep(i,n)cin>>a[i]; bool f = false; rep(i,30){ int c = 0; rep(j,n){ if((a[j]>>i)&1)c ^= 1; } if(c)f = true; } if(f)cout<<"First"<>i)&1)c ^= 1; } if(c){ rep(j,n){ if((a[j]>>i)&1){ cout<>res; assert(res!=-1); if(res==1)return 0; } f = true; int i,x; cin>>i>>x; a[i-1] -= x; int res; cin>>res; assert(res!=-1); } return 0; }