use std::io::{self, BufRead}; fn main() { io::stdin().lock().lines().for_each(|l| { let x = l .unwrap() .split_whitespace() .map(|n| n.parse::().unwrap()) .collect::>(); match &x[0..2] { [h, w] if h > w => println!("TATE"), _ => println!("YOKO"), } }); }