from collections import Counter

n = int(eval(input()))

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

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

	print ("Four")

else:

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

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

ss = set(s)

if len(ss) == 3:

	print ("Three")

else:

	print ("Four")
from collections import Counter

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

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

-from collections import Counter - -if len(Counter(s)) == 4: +ss = set(s) +if len(ss) == 3: +    print("Three") +else: -else: -    print("Three")