n=int(eval(input()))



t = input().split()

count = []

memo = 0

for i in t:

    if i in count:

        continue

    count.append(i)

    memo += 1

if memo == 3:

    print('Three')

else:

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



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



if "Y" in s:

    print("Four")

else:

    print("Three")
n = int(eval(input()))
t = input().split()
count = []
memo = 0
for i in t:
    if i in count:
        continue
    count.append(i)
    memo += 1
if memo == 3:
    print("Three")
else:
    print("Four")

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

-t = input().split() -count = [] -memo = 0 -for i in t: -    if i in count: -        continue -    count.append(i) -    memo += 1 -if memo == 3: +s = list(map(str, input().split())) +if "Y" in s: +    print("Four") +else: -else: -    print("Four")