#include main(){int a,b;scanf("%d%d",&a,&b);printf(a<2||b<2&&a*b>2^(a*b&1) ? "NO\n" : "YES\n");}