local N=io.read()
local t={}
for i=1,N do
  local s=io.read()
  t[s]=t[s] or true
end
local count=0
for i in pairs(t) do
  count=count+1
end
if count==3 then
  print("Three")
  elseif count==4 then
  print("Four")
end