import java.util.*; import java.math.*; public class Main { private static Scanner sc = new Scanner(System.in); public static void main(String[] args) throws Exception { int x = sc.nextInt(); int y = sc.nextInt(); int c = sc.nextInt(); int n = x*y; if (x == 1 || y == 1) { System.out.println("NO"); } else if (n%2!=0) { System.out.println("NO"); } else { System.out.println("YES"); } } }