program main implicit none integer*8::i,j,k,n,m read*,n,m if(3*n==4*m)then print*,"TATE" else print*,"YOKO" end if end program