#include using namespace std; int main(){ int h, w; cin >> h >> w; if (h > w){ puts("TATE"); } else{ puts("YOKO"); } return 0; }