x,y = gets.split.map(&:to_i) x>y ? (puts "TATE"): (puts "YOKO")