n=int(input())
s=list(map(str,input().split()))
print("Three" if len(set(s))==3 else "Four")
e23d25564787f28727f0fdb90025b0a8c11bff46
<mask token>

<mask token>
print('Three' if len(set(s)) == 3 else 'Four')

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

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