#include using namespace std; typedef unsigned long long ull; typedef long long ll; ll gcd(ll a, ll b){ if(a> h >> w; g=gcd(h, w); h/=g; if(h==3) cout << "YOKO" << endl; else cout << "TATE" << endl; return 0; }