#include "testlib.h" #include #include #include #include using namespace std; int MAXI = 1000000000; vector ret{"Bob", "Alice"}; int main(int argc, char *argv[]) { registerValidation(argc, argv); int X = inf.readInt(1, MAXI); inf.readSpace(); int Y = inf.readInt(1, MAXI); inf.readSpace(); int K = inf.readInt(1, X + Y - 1); inf.readSpace(); int P = inf.readInt(-1, 1); assert(abs(P) == 1); inf.readEoln(); inf.readEof(); int D = X + Y - K; int parity = P < 0; if (X <= D / 2) { cout << ret.at(!parity ^ (K % 2)) << endl; } else if (Y <= D / 2) { cout << ret.at(!parity) << endl; } else { cout << ret.at(D % 2) << endl; } }