#include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #define rep(i, n) for(int i = 0; i < (n); i++) #define per(i, n) for(int i = (n) - 1; i >= 0; i--) using ll = long long; #define vi vector #define vvi vector #define vl vector #define pii pair #define pll pair #define all(a) (a).begin(), (a).end() #define rall(a) (a).rbegin(), (a).rend() constexpr int mod = 1000000007; using namespace std; template bool chmax(T &a, const U &b){ return a < b ? (a = b, 1) : 0; } template bool chmin(T &a, const U &b){ return a > b ? (a = b, 1) : 0; } int main(){ int n; cin >> n; int val = n; int ans = 0; for(int i = 2; i*i <= n; i++){ int cnt = 0; while(val % i == 0){ val /= i; cnt++; } ans ^= cnt; } if(val > 1) ans ^= 1; if(ans) cout << "Alice\n"; else cout << "Bob\n"; }