T = gets.to_i xs = [] T.times do xs << gets.to_i end ans = 'T' now = 0 xs.each do |x| if (now - x).abs != 1 ans = 'F' break end now = x end puts ans