N = int(eval(input()))

S = list(map(str, input().split()))



candy_list = ['P', 'W', 'G', 'Y']

answer = 0

for i in range(4):

    if candy_list[i] in S:

        answer += 1



if answer == 3:

    print('Three')

if answer == 4:

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

S = list(map(str, input().split()))



if 'Y' in S:

    answer = 'Four'

else:

    answer = 'Three'

print(answer)
N = int(eval(input()))
S = list(map(str, input().split()))
candy_list = ["P", "W", "G", "Y"]
answer = 0
for i in range(4):
    if candy_list[i] in S:
        answer += 1
if answer == 3:
    print("Three")
if answer == 4:
    print("Four")

N = int(eval(input()))
S = list(map(str, input().split()))
if "Y" in S:
    answer = "Four"
else:
    answer = "Three"
print(answer)

-candy_list = ["P", "W", "G", "Y"] -answer = 0 -for i in range(4): -    if candy_list[i] in S: -        answer += 1 -if answer == 3: -    print("Three") -if answer == 4: -    print("Four") +if "Y" in S: +    answer = "Four" +else: +    answer = "Three" +print(answer)