# -*- coding: utf-8 -*- import sys,copy,math,heapq,itertools as it,fractions,re,bisect,collections as coll H, W = map(int,raw_input().split()) print "YOKO" if W > H else "TATE"