def ascan; gets.split.map(&:to_i);end n = gets.to_i dom = [0]*4 n.times do x,y = ascan d = x%2 + (y%2)*2 dom[d] += 1 end a = dom.map{|e|e/2}.reduce(:+) if a.even? puts "Bob" else puts "Alice" end