#include using namespace std; using ll = long long; using P = pair; #define fix(x) fixed << setprecision(x) #define asc(x) x, vector, greater #define rep(i, n) for(ll i = 0; i < n; i++) #define all(x) (x).begin(),(x).end() templatebool chmin(T&a, const T&b){if(a>b){a=b;return 1;}return 0;} templatebool chmax(T&a, const T&b){if(a> x >> y >> k >> p; if(p<0 && y<=(x+y-k)/2) ans = false; else if(p<0 && x<=(x+y-k+1)/2 && (k&1)) ans = true; else if(p<0 && x<=(x+y-k)/2 && !(k&1)) ans = false; else if(p>0 && y<=(x+y-k+1)/2) ans = true; else if(p>0 && x<=(x+y-k)/2 && (k&1)) ans = false; else if(p>0 && x<=(x+y-k+1)/2 && !(k&1)) ans = true; else ans = (x+y-k) & 1; cout << (ans?"Alice\n":"Bob\n"); return 0; }