*G=gets
/^1$/&&(puts :First;exit)
$<.map{|l|x=l.split.map &:to_i;x.map{|a|G[a]=*G[a],*x}}
d,*v=->i,l{v[i]||(v[i]=l;G[i].map{|x|d[x,l+1]})},0
d[1,0]
a=v.index v.max
*v=0
d[a,0]
puts v.max%3==1?:Second: :First