#include #define p(s) cout<<(s)<>N>>M>>C; string ans="NO"; if(N*M<=2)ans="YES"; else if(!(N*M%2)) ans="YES"; p(ans); return 0; }