#include using namespace std; struct Initializer { Initializer() { cin.tie(0); ios::sync_with_stdio(0); cout << fixed << setprecision(15); } } initializer; int main() { int h, w; cin >> h >> w; cout << (h > w ? "TATE" : "YOKO") << endl; }