T = int(input()) X = [0]+[int(input()) for _ in range(T)] print("FT"[all(abs(X[i]-X[i-1])<=1 for i in range(T))])