#include #ifdef SHO_LOCAL #include "debug.h" #else #define debug(...) \ {} #endif using namespace std; void a() { cout << "Alice" << '\n'; } void b() { cout << "Bob" << '\n'; } int main() { iostream::sync_with_stdio(0), cin.tie(0), cout.tie(0); long long x, y, k, p; cin >> x >> y >> k >> p; long long t = x + y - k; bool one_way = x <= t / 2 || y <= t / 2; if (one_way) { if (x < y) { y -= t - x; x = 0; } else { x -= t - y; y = 0; } if (y == 0) { if (p == 1) a(); else b(); } else { if ((p == 1 && (y % 2 == 0)) || (p == -1 && (y & 1))) a(); else b(); } } else if (t & 1) { a(); } else { b(); } return 0; }