eval(input())

if len(set(input().split()))==3:

  print("Three")

else:

  print("Four")
N = int(eval(input()))

S = set(input().split())



if len(S)==3:

  print("Three")

else:

  print("Four")
eval(input())
if len(set(input().split())) == 3:
    print("Three")
else:
    print("Four")

N = int(eval(input()))
S = set(input().split())
if len(S) == 3:
    print("Three")
else:
    print("Four")

-eval(input()) -if len(set(input().split())) == 3: +N = int(eval(input())) +S = set(input().split()) +if len(S) == 3: