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