function Main(input) {
  var inp = input.split(' ');

  if (inp[0] === inp[1]) {
    console.log('Yes');
  } else {
    console.log('No');
  }
  
}

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