function main(input){
    input = input.split(' ');
    out = 'No';
    
    if(input[0]==input[1]){
        out = 'Yes';
    }

    console.log(out);
}

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