#include using namespace std; //#pragma GCC optimize("Ofast") #define rep(i,n) for(ll i=0;i=0;i--) #define perl(i,r,l) for(ll i=r-1;i>=l;i--) #define fi first #define se second #define pb push_back #define ins insert #define pqueue(x) priority_queue,greater> #define all(x) (x).begin(),(x).end() #define CST(x) cout<> #define rev(x) reverse(x); using ll=long long; using vl=vector; using vvl=vector>; using pl=pair; using vpl=vector; using vvpl=vector; const ll MOD=1000000007; const ll MOD9=998244353; const int inf=1e9+10; const ll INF=4e18; const ll dy[9]={1,0,-1,0,1,1,-1,-1,0}; const ll dx[9]={0,1,0,-1,1,-1,1,-1,0}; template inline bool chmin(T& a, T b) { if (a > b) { a = b; return true; } return false; } template inline bool chmax(T& a, T b) { if (a < b) { a = b; return true; } return false; } int main(){ ll n=1000;//cin >> n; vl dp(n);dp[2]=0;dp[3]=0; for(ll i=4;i st; for(ll j=2;j> t; while(t--){ ll a,b;cin >> a >> b; ll f=0; if(a<1000)f=dp[a]; else { a%=34;a+=680;f=dp[a]; } ll g=0; if(b<1000)g=dp[b]; else { b%=34;b+=680;g=dp[b]; } cout << ((f^g)? "First":"Second") << endl; } //rep(i,n)cout << dp[i] <<" ";cout << endl; }