#include using namespace std; using int64 = long long; int main(){ ios::sync_with_stdio(false); cin.tie(nullptr); int N; // 山の個数 if(!(cin >> N)) return 0; vector A(N); for(auto &v:A) cin >> v; auto xor_all = [&]{ int64 x=0; for(auto v:A) x ^= v; return x; }; int64 nim = xor_all(); if(nim==0){ cout << "Second" << endl << flush; }else{ cout << "First" << endl << flush; int64 K = (int64)4e18; // 十分大きい値で代用 while(true){ /* ---------- 自分の手番 ---------- */ // 現在の L int64 L = 1; while(L <= K) L <<= 1; nim = xor_all(); // 必ず ≠0 int choose = -1; int64 x = 0; for(int i=0;i> ret)) return 0; if(ret==1 || ret==-1) return 0; // 勝敗確定 /* ---------- ジャッジ手番 ---------- */ int idx; int64 y; cin >> idx >> y; --idx; A[idx] -= y; K = y; cin >> ret; if(ret==1 || ret==-1) return 0; } } }