use proconio::{fastout, input}; const DIRS: [(isize, isize); 4] = [(0, 1), (1, 0), (0, -1), (-1, 0)]; trait OrdExt { fn chmax(&mut self, other: Self) -> bool; fn chmin(&mut self, other: Self) -> bool; } impl OrdExt for T { fn chmax(&mut self, other: Self) -> bool { if *self < other { *self = other; true } else { false } } fn chmin(&mut self, other: Self) -> bool { if *self > other { *self = other; true } else { false } } } #[fastout] fn main() { input! { A: usize, B: usize, } if A == 1 { println!("Alice"); } else if A == B { println!("Alice"); } else if A == B + 1 { println!("Bob"); } else if A > B { println!("Alice"); } else { println!("Bob"); } }