#include #include #define rep(i,a) for(int i=0;i<(a);++i) int N, M, C; std::queue que; int main() { scanf( "%d%d%d", &N, &M, &C ); if( N==1 || M==1 ) { puts( M*N==2?"YES":"NO" ); return 0; } puts( N&1&&M&1?"NO":"YES" ); return 0; }