process.stdin.resume();
process.stdin.setEncoding('utf8');

function Main(input){
    lines = input.split(" ");
    n = parseInt(lines[0]);
    m = parseInt(lines[1]);
    ans = "";
    if (n == m){
        ans = "Yes";
    } else {
        ans = "No";
    }
    console.log(ans);
}

Main(require("fs").readFileSync("/dev/stdin", "utf8"));