f=->(k){k==14||k==34?0:k==16||k==17||k==31||k==51?2:0xe9792a3f6217ba8180b0be4f6ee6/10**(k%34)%10} gets z=k=1 a=-1 gets.split.map(&:to_i).sort.each{|b|b-a>1?(z^=f[k];k=1):k+=1;a=b} puts z^f[k]>0?:First: :Second