#include using namespace std; signed main(){ long long h,w;cin>>h>>w; if(h*3==w*4)cout<<"TATE"<