def game_winner(A, B): alice_turn = True # True means Alice's turn, False means Bob's turn while A > 0 and B > 0: if alice_turn: x, y = A, B else: x, y = B, A # Check if modulo operation is allowed if x >= y and y != 0: x %= y else: x -= 1 if alice_turn: A = x else: B = x alice_turn = not alice_turn return "Bob" if A == 0 else "Alice" # Input A, B = map(int, input().split()) # Output print(game_winner(A, B))