local n = io.read("*n") local a = {} for i = 1, n do a[i] = io.read("*n") end local p1win = true for i = 2, n do if p1win then if 1 < a[i] then p1win = true else p1win = false end else p1win = true end end print(p1win and "Alice" or "Bob")