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