import std.stdio; import std.string; import std.array; import std.typecons; import std.typetuple; import std.container; import std.algorithm; import std.conv; import std.math; import std.format; alias TypeTuple tie; void readlnToken(T...)(auto ref T args) { import std.stdio; import std.conv; import std.string; import std.array; auto line = split(readln().strip); foreach(ref arg; args) { arg = to!(typeof(arg))(line[0]); line = line[1..$]; } assert(line.empty()); // got all token?? } auto primeFactorize(T)(T n) { int[T] res; for(int i = 2; i*i <= n; ++i) { while (n%i == 0) { res[i]++; n /= i; } } if (n != 1) res[n] = 1; return res; } void solve() { long N; readlnToken(N); auto primes = primeFactorize(N); // nim int ret = 0; foreach(p,k;primes) { ret ^= k; } if ( ret ) writeln("Alice"); else writeln("Bob"); } void main() { solve(); }