function *main() {
  
  const [N, M] = (yield).split` `.map(s => +s);
  console.log((N == M) ? "Yes" : "No");
  
}
const iter = main();
iter.next();
require("readline").createInterface({input: process.stdin, output: process.stdout}).on("line", line => iter.next(line));
