const main = stdin => {
  const input = stdin.trim().split('\n')
  const [M, N] = input[0].split(' ').map(x => parseInt(x))

  M === N ? console.log('Yes') : console.log('No')
}

// 標準入力
main(require("fs").readFileSync("/dev/stdin", "utf8"))
