num = int(eval(input()))



InA = [i for i in input().split()]



flgYel = 0



for cnt in range(num):

    if InA[cnt] == "Y":

        flgYel = 1

        break



if flgYel > 0 :

    print ("Four")

else :

    print ("Three")

 
#入力受け取り

arare_kazu = int(eval(input()))

arare_color = [i for i in input().split()]

#print(arare_color)



#判定

if 'Y' in arare_color:

    print('Four')

else:

    print('Three')
num = int(eval(input()))
InA = [i for i in input().split()]
flgYel = 0
for cnt in range(num):
    if InA[cnt] == "Y":
        flgYel = 1
        break
if flgYel > 0:
    print("Four")
else:
    print("Three")

# 入力受け取り
arare_kazu = int(eval(input()))
arare_color = [i for i in input().split()]
# print(arare_color)
# 判定
if "Y" in arare_color:
    print("Four")
else:
    print("Three")

-num = int(eval(input())) -InA = [i for i in input().split()] -flgYel = 0 -for cnt in range(num): -    if InA[cnt] == "Y": -        flgYel = 1 -        break -if flgYel > 0: +# 入力受け取り +arare_kazu = int(eval(input())) +arare_color = [i for i in input().split()] +# print(arare_color) +# 判定 +if "Y" in arare_color: