require 'Prime' N=gets.to_i p=Prime.prime_division(N) idx=p.map{|m|m[1]} a=idx.map{|m|m==1 ? 1 : 2} b=[a.count(2),a.count(1)] if b[0].zero? && b[1].nonzero? puts :Alice elsif b[0].even? && b[1].odd? puts :Bob else puts :Alice end