n=int(eval(input()))

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

f=True

for i in range(n):

  if a[i] == "Y":

    f=False

    print("Four")

    break

if f :

  print("Three")

    
import sys

n = int(eval(input()))

s = sys.stdin.readline().rstrip().split()

print(('Three' if len(set(s)) == 3 else 'Four'))
n = int(eval(input()))
a = list(map(str, input().split()))
f = True
for i in range(n):
    if a[i] == "Y":
        f = False
        print("Four")
        break
if f:
    print("Three")

import sys

n = int(eval(input()))
s = sys.stdin.readline().rstrip().split()
print(("Three" if len(set(s)) == 3 else "Four"))

+import sys + -a = list(map(str, input().split())) -f = True -for i in range(n): -    if a[i] == "Y": -        f = False -        print("Four") -        break -if f: -    print("Three") +s = sys.stdin.readline().rstrip().split() +print(("Three" if len(set(s)) == 3 else "Four"))