import java.util.ArrayList; import java.util.Arrays; import java.util.HashSet; import java.util.LinkedList; import java.util.Scanner; import java.util.Set; import java.util.TreeSet; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); final int N = sc.nextInt(); final int M = sc.nextInt(); final int C = sc.nextInt(); final int min = Math.min(N, M); final int max = Math.max(N, M); if(min == 1){ if(max == 2){ System.out.println("YES"); }else{ System.out.println("NO"); } }else if(min % 2 != 0 && max % 2 != 0){ System.out.println("NO"); }else{ System.out.println("YES"); } } }