defmodule Main do
  def main do
    n = IO.read(:line) |> String.trim |> String.to_integer
    a = for _ <- 1..n, do: IO.gets("") |> String.trim
   	if for _ <- 1..n, do: IO.gets("") |> String.trim |> Enum.uniq |> length == 4 do
    	IO.puts("Four")
    else
        IO.puts("Three")
    end
  end
end
