p = 0 c = 0 N = int(input()) for i in range(N): x = int(input()) if abs(p - x) == 1: p = x c += 1 print('T') if c == N else print('F')