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

var lines = [];
var reader = require('readline').createInterface({
  input: process.stdin,
  output: process.stdout
});
reader.on('line', (line) => {
  lines.push(line);
});
reader.on('close', () => {
  const lines_array = lines[0].split(" ").map(x => Number(x))
  if (lines_array[0] == lines_array[1]) {
    console.log("Yes")   
  } else {
    console.log("No")
  }
});