12293 - Box Game


Difficulty : easy

Solution Description :

Ad hoc problem

Do not use top to bottom, 
Image

you need to use bottom to top process (i.e. reverse process)
Image

at first set m=1
multiply m by 2 and increment m by 1 until m less n(input).

After this 
if m==n then print Bob
else print Alice