fn main() { let mut n = String::new(); std::io::stdin().read_line(&mut n).ok(); let n: usize = n.trim().parse().unwrap(); let mut a = String::new(); std::io::stdin().read_line(&mut a).ok(); let a: Vec = a.trim().split_whitespace().map(|s| s.parse().unwrap()).collect(); let mut dp = vec![0usize; n]; dp[0] = 0; for i in 1..n { if a[i] == 1 { dp[i] = 1 - dp[i-1]; } } if dp[n-1] == 0 { println!("Alice"); } else { println!("Bob"); } }