#include template T in() { abort(); return T(); } template<> std::string in() { std::string str; std::cin >> str; return str; } template<> int in() { int x; scanf("%d", &x); return x; } template void out(T x) { abort(); } template<> void out(const char* x) { printf("%s\n", x); } template<> void out(std::string x) { std::cout << x << std::endl; } template<> void out(int x) { printf("%d\n", x); } template<> void out(long x) { printf("%ld\n", x); } std::map> map; std::map flags; void pf(int n) { if( map.count(n) != 0 ) return; std::vector next; std::vector factors; { int t = n; for(int i = 2; i * i <= t; ++i) { if( t % i != 0 ) continue; factors.push_back(i); while( t % i == 0 ) t /= i; } if( t != 1 ) factors.push_back(t); } for(int x : factors) { int t = n; while( t % x == 0 ) { next.push_back(t / x); t /= x; } } map[n] = next; for(int x : next) { pf(x); } } int main() { int n = in(); pf(n); flags[1] = false; for(auto &nxs : map) { int n = nxs.first; std::vector& xs = nxs.second; if( n == 1 ) continue; bool b = true; for(int j : xs) { b = b && flags[j]; } flags[n] = not b; } out(flags[n] ? "Alice" : "Bob"); return 0; }