<>;/ /,$a^=$b[$`%2*2+$'%2]^=1for<>;print$a?Alice:Bob