N = gets.to_i A = gets.split.map(&:to_i) if A.last != 1 puts 'Alice' exit end turn = 0 while A.last == 1 A.pop turn += 1 end if A.empty? if turn % 2 == 0 puts 'Bob' else puts 'Alice' end else if turn % 2 == 0 puts 'Alice' else puts 'Bomb' end end