from collections import Counter

N = eval(input())

color_list = [i for i in input().split()]

result = len(Counter(color_list))



if result == 3:

    result = 'Three'

elif result == 4:

    result = 'Four'



print(result)
N = input()

color_list = [i for i in input().split()]

print('Four') if 'Y' in color_list else print('Three')

from collections import Counter

N = eval(input())
color_list = [i for i in input().split()]
result = len(Counter(color_list))
if result == 3:
    result = "Three"
elif result == 4:
    result = "Four"
print(result)

N = input()
color_list = [i for i in input().split()]
print("Four") if "Y" in color_list else print("Three")

-from collections import Counter - -N = eval(input()) +N = input() -result = len(Counter(color_list)) -if result == 3: -    result = "Three" -elif result == 4: -    result = "Four" -print(result) +print("Four") if "Y" in color_list else print("Three")