#include using namespace std; int main(){ double h, w; cin >> h >> w; cout << (h / w == 4. / 3 ? "TATE" : "YOKO") << endl; }