from sys import stdin

import numpy as np

import math



n = int(stdin.readline().rstrip())

s = stdin.readline().rstrip()

s = [str(i) for i in s]



if "Y" in s:

    print("Four")

else:

    print("Three")
from sys import stdin,setrecursionlimit

setrecursionlimit(10 ** 7)



n = int(stdin.readline().rstrip())

s = input().split()



li = set()



for i in s:

    li.add(i)



if len(li) == 3:

    print("Three")

elif len(li) == 4:

    print("Four")

    
from sys import stdin
import numpy as np
import math

n = int(stdin.readline().rstrip())
s = stdin.readline().rstrip()
s = [str(i) for i in s]
if "Y" in s:
    print("Four")
else:
    print("Three")

from sys import stdin, setrecursionlimit

setrecursionlimit(10**7)
n = int(stdin.readline().rstrip())
s = input().split()
li = set()
for i in s:
    li.add(i)
if len(li) == 3:
    print("Three")
elif len(li) == 4:
    print("Four")

-from sys import stdin -import numpy as np -import math +from sys import stdin, setrecursionlimit +setrecursionlimit(10**7) -s = stdin.readline().rstrip() -s = [str(i) for i in s] -if "Y" in s: +s = input().split() +li = set() +for i in s: +    li.add(i) +if len(li) == 3: +    print("Three") +elif len(li) == 4: -else: -    print("Three")