n = int(input())

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

print("Four") if "Y" in s else print("Three")

n = int(eval(input()))

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



s = len(list(set(s)))



if s == 3:

    print("Three")

else:

    print("Four")
n = int(input())
s = list(map(str, input().split()))
print("Four") if "Y" in s else print("Three")

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

-n = int(input()) +n = int(eval(input())) -print("Four") if "Y" in s else print("Three") +s = len(list(set(s))) +if s == 3: +    print("Three") +else: +    print("Four")