import sys T = int(input()) x = [int(input()) for _ in range(T)] for i, j in enumerate(x[:T-1]): if abs(x[i+1] - j) != 1: print("F") else: print("T")