#include <iostream>
#include <vector>
std::string answer_query(int x, int y) {
if ((x % 2) != (y % 2)) {
return "Yes";
}
return "Placeholder Answer";
}
int main() {
int T;
std::cin >> T;
while (T--) {
int x, y;
std::cin >> x >> y;
std::cout << answer_query(x, y) << std::endl;
}
return 0;
}