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