'use strict';
const main = input => {
  const nums = input[0].split(' ').map(val => parseInt(val));
  const n = nums[0], m = nums[1];
  console.log(n-m?'No':'Yes');
  
}
main(require("fs").readFileSync("/dev/stdin", "utf8").split('\n'));