import std.algorithm, std.array, std.container, std.range, std.bitmanip; import std.numeric, std.math, std.bigint, std.random; import std.string, std.conv, std.stdio, std.typecons; void main() { auto n = readln.chomp.to!int; auto fi = factorDivision(n); auto w = fi.reduce!("a ^ b") == 0; writeln(w ? "Bob" : "Alice"); } int[] factorDivision(int n) { int[] fi; void tryDiv(ref int n, int k) { auto r = 0; while (n % k == 0) { n /= k; r += 1; } if (r > 0) fi ~= r; } tryDiv(n, 2); tryDiv(n, 3); for (auto k = 1; 6 * k - 1 <= n; ++k) { tryDiv(n, 6 * k - 1); tryDiv(n, 6 * k + 1); } return fi; }