import sys input = sys.stdin.buffer.readline sys.setrecursionlimit(10 ** 7) def main(): N = int(input()) A = [int(input()) for _ in range(N)] xor = 0 for a in A[::-1]: xor ^= a if xor == 0: return "h" return "n" print("Taka{}ashi".format(main()))