n=eval(input())

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

if "Y" in arare:

  print("Four")

else:

  print("Three")
n,*s=list(map(str,open(0).read().split()))

if "Y" in s:

  print("Four")

else:

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

n, *s = list(map(str, open(0).read().split()))
if "Y" in s:
    print("Four")
else:
    print("Three")

-n = eval(input()) -arare = list(map(str, input().split())) -if "Y" in arare: +n, *s = list(map(str, open(0).read().split())) +if "Y" in s: