#include using namespace std; bool solve(long long a, long long b) { bool turn = true; while (a != 0 && b != 0) { if (a < b) swap(a, b); if (a / b >= 2) { return turn; } a = a % b; turn = !turn; } return !turn; } int main() { long long A, B; cin >> A >> B; if (solve(A, B)) { cout << "Alice" << endl; } else { cout << "Bob" << endl; } return 0; }