a=int(input())
flg=0
np=0
for i in range(a):
    p=int(input())
    if (p + 1)==np or (p - 1)==np:
        np=p
    else:
        flg=1
if flg==1:
    print("F")
else:
    print("T")