import scala.io.StdIn.readLine

case class Model(a: Int, b: Int) {
  require(1 <= a && a <= 3)
  require(1 <= b && b <= 3)

  private val ab = a * b

  def isExist: Boolean =
    (1 to 3) exists (c => (c * ab) % 2 == 1)
}

object Main extends App {

  val input = readLine.split(" ").map(_.toInt)
  if(Model(input(0), input(1)).isExist)
    println("Yes")
  else
    println("No")

}
