a,b = gets.chomp.split.map!(&:to_i) puts "TATE" if((a/b)==1) puts "YOKO" if((a/b)!=1)