from collections import Counter



n = eval(input())

s = input().split()

ss = Counter(s)

print(('Three' if len(ss) == 3 else 'Four'))

n = eval(input())

s = set(input().split())

print(('Three' if len(s) == 3 else 'Four'))

from collections import Counter

n = eval(input())
s = input().split()
ss = Counter(s)
print(("Three" if len(ss) == 3 else "Four"))

n = eval(input())
s = set(input().split())
print(("Three" if len(s) == 3 else "Four"))

-from collections import Counter - -s = input().split() -ss = Counter(s) -print(("Three" if len(ss) == 3 else "Four")) +s = set(input().split()) +print(("Three" if len(s) == 3 else "Four"))