x = 0 A = True for i in range(int(input())): if abs(i-x) != 1: A = False break else: x = i print('T' if A else 'F')