function main(input) {
  const inputs =input.split('\n')
  const [N, M] = inputs[0].split(' ')
  console.log(
    N === M ? 'Yes' : 'No'
  )
}

main(require('fs').readFileSync('/dev/stdin', 'utf8').trim())
