function main(input) {
    input = input.split(" ");
    var n = parseInt(input[0], 10);
    var m = parseInt(input[1], 10);

    if (n===m) {
        console.log("Yes")
    } else {
        console.log("No")
    }
  }
   
  main(require("fs").readFileSync("/dev/stdin", "utf8"));

