#include using namespace std; typedef int64_t lint; int main() { lint h,w;cin>>h>>w; if(h>w){ cout<<"TATE"<