def winner(a, b): # Ensure a >= b if a < b: a, b = b, a turn = 0 # 0 = Alice, 1 = Bob while True: if a // b >= 2: return "Alice" if turn == 0 else "Bob" a, b = b, a % b if b == 0: return "Bob" if turn == 0 else "Alice" turn ^= 1 # Input A, B = map(int, input().split()) # Output print(winner(A, B))