#include int main(){ long long h; long long w; std::cin >> h >> w; if (h > w){ std::cout << "TATE\n"; } else std::cout << "YOKO\n"; }