fun main(){val(h,w)=readLine()!!.split(" ").map{it.toInt()} println(if (h>w){"TATE"}else{"YOKO"})}