object Main extends App {
  val inputs: Seq[String] = scala.io.Source.stdin.getLines().toList
  val nums = inputs.head.split(" ").map(_.toInt)
  val x = nums(0)
  val y = nums(1)

  println(solve(x, y))

  private def solve(x: Int, y: Int): String = {
    if (x == 2 || y == 2) {
      "No"
    } else if (x % 2 == y % 2) {
      "Yes"
    } else {
      "No"
    }
  }
}