a,b = gets.split.map(&:to_i) puts "TATE" if a>b puts "YOKO" if a