#include using namespace std; int main() { ios::sync_with_stdio(false); cin.tie(0); int H, W; cin >> H >> W; if (H > W) { cout << "TATE" << '\n'; } else { cout << "YOKO" << '\n'; } return 0; }