use std::io::Read; fn main() { let mut s = String::new(); std::io::stdin().read_to_string(&mut s).ok(); let mut itr = s.trim().split_whitespace(); let a:u64 = itr.next().unwrap().parse().unwrap(); let b:u64 = itr.next().unwrap().parse().unwrap(); let ap = a * 1000; let bp = b * 3600; if ap > bp { println!("KoD"); } else if ap < bp { println!("blackyuki"); } else { println!("same"); } }