def solve(a, b): turn = 0 # 0 = Alice, 1 = Bob while True: if a < b: a, b = b, a if a // b >= 2: break a %= b turn ^= 1 # switch turns if b == 0: break # whoever's turn it is now, they can force a win return "Alice" if turn == 0 else "Bob" A, B = map(int, input().split()) print(solve(A, B))