T = int(input()) X = [int(input()) for a in range(T)] X.insert(0, 0) for j in range(T): if (abs(X[x])+abs(X[x+1]))%2 == 0: print('F') flag = 1 break if X[1] == 0: flag = 1 if not flag: print('T')