n = int(eval(input()))

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

d = {}

for i in range(n):

    if s[i] not in d:

        d[s[i]] = 1

    else:

        d[s[i]] += 1

if len(list(d.keys())) == 3:

    print('Three')

else:

    print('Four')

#print(d)
n = int(eval(input()))

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

if len(set(s)) == 4:

    print('Four')

else:

    print('Three')

n = int(eval(input()))
s = list(map(str, input().split()))
d = {}
for i in range(n):
    if s[i] not in d:
        d[s[i]] = 1
    else:
        d[s[i]] += 1
if len(list(d.keys())) == 3:
    print("Three")
else:
    print("Four")
# print(d)

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

-d = {} -for i in range(n): -    if s[i] not in d: -        d[s[i]] = 1 -    else: -        d[s[i]] += 1 -if len(list(d.keys())) == 3: +if len(set(s)) == 4: +    print("Four") +else: -else: -    print("Four") -# print(d)