#include int min(int a, int b){ if(a < b){return a;} return b; } int main(void){ int flag; int n,m,c; scanf("%d %d %d", &n, &m, &c); if(n*m == 2){ flag =1; }else if(min(n,m) < 2){ flag = 0; }else if( (n*m)%2 == 0){ flag = 1; }else{ flag = 0; } if(flag){ printf("YES\n"); }else{ printf("NO\n"); } return 0; }