#include [[nodiscard]] static inline constexpr const char* solve(const uint_fast32_t H, const uint_fast32_t W) noexcept { if (H > W) return "TATE"; else return "YOKO"; } int main() { std::cin.tie(nullptr); std::ios::sync_with_stdio(false); uint_fast32_t H, W; std::cin >> H >> W; std::cout << solve(H, W) << '\n'; return 0; }