def main():

    N = int(eval(input()))

    A = [i for i in input().split()]

    ans = ["Three", "Four"]

    print((ans[0] if len(set(A)) == 3 else ans[1]))





if __name__ == '__main__':

    main()

def main():

    N = int(eval(input()))

    A = {i for i in input().split()}

    if "Y" in A:

        print("Four")

    else:

        print("Three")





if __name__ == '__main__':

    main()

def main():
    N = int(eval(input()))
    A = [i for i in input().split()]
    ans = ["Three", "Four"]
    print((ans[0] if len(set(A)) == 3 else ans[1]))


if __name__ == "__main__":
    main()

def main():
    N = int(eval(input()))
    A = {i for i in input().split()}
    if "Y" in A:
        print("Four")
    else:
        print("Three")


if __name__ == "__main__":
    main()

-    A = [i for i in input().split()] -    ans = ["Three", "Four"] -    print((ans[0] if len(set(A)) == 3 else ans[1])) +    A = {i for i in input().split()} +    if "Y" in A: +        print("Four") +    else: +        print("Three")