import sys



n, *s = sys.stdin.read().split()



def main():

    return 'Four' if len(set(s)) == 4 else 'Three'



if __name__ == '__main__':

    ans = main()

    print(ans)
import sys

n, *s = sys.stdin.read().split()



def main():

  print(('Four' if len(set(s)) == 4 else 'Three'))

  

if __name__ == '__main__':

  main()
import sys

n, *s = sys.stdin.read().split()


def main():
    return "Four" if len(set(s)) == 4 else "Three"


if __name__ == "__main__":
    ans = main()
    print(ans)

import sys

n, *s = sys.stdin.read().split()


def main():
    print(("Four" if len(set(s)) == 4 else "Three"))


if __name__ == "__main__":
    main()

-    return "Four" if len(set(s)) == 4 else "Three" +    print(("Four" if len(set(s)) == 4 else "Three")) -    ans = main() -    print(ans) +    main()