def change(p,x): now=A[p] for i in range(15): sms[i]-=now now//=2 A[p]=x now=x for i in range(15): sms[i]+=now now//=2 N=int(input()) A=list(map(int,input().split())) sms=[0]*15 for i in range(N): now=A[i] for j in range(15): sms[j]+=now now//=2 odd=False for i in range(15): if sms[i]%2==1: odd=True if odd: print("First") else: print("Second") i,s=map(int,input().split()) ret=int(input()) assert(ret!=-1) i-=1 change(i,A[i]-s) while True: now=1 for i in range(15): if sms[i]%2==1: break now*=2 for i in range(N): if A[i]>=now: change(i,A[i]-now) print(i+1,now) break ret=int(input()) assert(ret!=-1) if ret==1: exit() i,s=map(int,input().split()) ret=int(input()) assert(ret!=-1) i-=1 change(i,A[i]-s)