use std::io::{self, BufRead}; fn main() { io::stdin().lock().lines().for_each(|l| { let input = l .unwrap() .split_whitespace() .map(|n| n.parse::().unwrap()) .collect::>(); match (input[0], input[1]) { (0, 0) | (1, 1) | (2, 2) => println!("Drew"), (0, 1) | (1, 2) | (2, 0) => println!("Won"), _ => println!("Lost"), } }); }