t = int(input()) x = [0] for i in range(t): x.append(int(input())) if x[t-1] % 2 != t % 2: j = 'F' for i in range(1,t): if abs(x[i-1] - x[i]) != 1: j = 'F' break else: pass else: j = 'T' print (j)