#include using namespace std; using ll =long long; #define all(v) v.begin(),v.end() #define rep(i,a,b) for(int i=a;i=b;i--) ll INF=2e18; vector vec; void solve() { ll a,b;cin>>a>>b; a-=2; b-=2; ll x,y; if(a<100) x=vec[a]; else { a%=34; x=vec[a+68]; } if(b<100) y=vec[b]; else { b%=34; y=vec[b+68]; } ll ans=(x^y); if(ans==0) cout<<"Second"<<'\n'; else cout<<"First"<<'\n'; } int main() { ios::sync_with_stdio(false); cin.tie(0); vec=vector (1000); vec[1]=0; vec[2]=0; for(ll i=3;i<=500;i++) { set a; for(ll j=1;j note(1000); for(ll i=2;i<1000;i++) note[i]=vec[i+2]; vec=note; ll t;cin>>t; for(ll i=0;i