n = int(eval(input()))

flag = False

s = input().split(" ")

for c in s:

  if(c == "Y"):

    flag = True



if(flag):

  print("Four")

else:

  print("Three")
n = int(eval(input()))

s = input().split()



for i in s:

  if(i == 'Y'):

    print('Four')

    exit()

print('Three')

n = int(eval(input()))
flag = False
s = input().split(" ")
for c in s:
    if c == "Y":
        flag = True
if flag:
    print("Four")
else:
    print("Three")

n = int(eval(input()))
s = input().split()
for i in s:
    if i == "Y":
        print("Four")
        exit()
print("Three")

-flag = False -s = input().split(" ") -for c in s: -    if c == "Y": -        flag = True -if flag: -    print("Four") -else: -    print("Three") +s = input().split() +for i in s: +    if i == "Y": +        print("Four") +        exit() +print("Three")