#include using namespace std; int main() { int H, W; cin >> H >> W; cout << ((H > W) ? "TATE" : "YOKO") << "\n"; }