#include int main(){ int N,M,C; scanf("%d %d %d",&N,&M,&C); if((N==1 && M==2)||(N==2 && M==1))printf("YES\n"); else if(N!=1 && M!=1 && (N%2==0 || M%2==0))printf("YES\n"); else printf("NO\n"); return 0; }