N=int(eval(input()))

S=list(input().split())

ans='Three'

if 'Y' in S:

    ans='Four'

print(ans)

from collections import Counter



n = int(eval(input()))

S = list(input().split())

c = Counter(S)

if len(c) == 4:

    print('Four')

else:

    print('Three')

N = int(eval(input()))
S = list(input().split())
ans = "Three"
if "Y" in S:
    ans = "Four"
print(ans)

from collections import Counter

n = int(eval(input()))
S = list(input().split())
c = Counter(S)
if len(c) == 4:
    print("Four")
else:
    print("Three")

-N = int(eval(input())) +from collections import Counter + +n = int(eval(input())) -ans = "Three" -if "Y" in S: -    ans = "Four" -print(ans) +c = Counter(S) +if len(c) == 4: +    print("Four") +else: +    print("Three")