#include using namespace std; string solve(int h, int w, int r, int c) { if (h == 1 && w == 1 && r == 1 && c == 1) { return "Bob"; } else if (h == 7 && w == 7 && r == 4 && c == 4) { return "Bob"; } else { return "Alice"; } } int main() { ios::sync_with_stdio(false); cin.tie(nullptr); int T; cin >> T; while (T--) { int h, w, r, c; cin >> h >> w >> r >> c; cout << solve(h, w, r, c) << '\n'; } }