eval(input())

print(("Four" if "Y" in eval(input()) else "Three"))
print(("TFhoruere"['Y'in open(0).read()::2]))
eval(input())
print(("Four" if "Y" in eval(input()) else "Three"))

print(("TFhoruere"["Y" in open(0).read() :: 2]))

-eval(input()) -print(("Four" if "Y" in eval(input()) else "Three")) +print(("TFhoruere"["Y" in open(0).read() :: 2]))