a,b,c = io.read("*n", "*n", "*n") if(a % 2 == 1 and b % 2 == 1) then print("NO") else print("YES") end