import sys sys.setrecursionlimit(10**6) memo = {} def win(a, b): if a == 0: return True # 自分が0になった → 勝ち if b == 0: return False # 相手が0で自分が非0 → 相手の勝ち if (a, b) in memo: return memo[(a, b)] # 操作1: 1 減らす if not win(b, a - 1): memo[(a, b)] = True return True # 操作2: 余りに置き換える if a >= b and not win(b, a % b): memo[(a, b)] = True return True memo[(a, b)] = False return False # 入力 A, B = map(int, input().split()) # 出力 print("Alice" if win(A, B) else "Bob")