func main() var n: int :: cui@inputInt() var a: []int :: #[n]int for i(0, n - 1) do a[i] :: cui@inputInt() end for var ans: bool :: true for i(1, n - 1) if(a[i] = 1) do ans :: !ans else do ans :: true end if end for do cui@print((ans ?("Alice", "Bob")) ~ "\n") end func