T=int(input()) x=[int(input()) for i in range(T)] s="T" a=0 while x: b=x.pop(0) if abs(a-b)!=1:s="F" a=b print(s)