gets z=l=0 $<.map{|s|x=s.to_i;z=z&&(x-l).abs==1;l=x} puts z ?:T: :F