local a = io.read("*n")
local b = io.read("*n")

if a%2 == 0 or b%2 == 0 or (a*b)%2 == 0 then
    print("NO")
else
    print("YES")
end
--#17024584 | luozeming's solution for [AtCoder-4250] [Problem A]