n = int(eval(input()))

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

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

if a==3:

    print("Three")

else:

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

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

if "Y" in s:

    print("Four")

else:

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

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

-a = len(list(set(s))) -if a == 3: +if "Y" in s: +    print("Four") +else: -else: -    print("Four")