#include using namespace std; int main() { int N,M,C; cin>>N>>M>>C; if ((N*M)%2 == 0){ if ((N==1) or (M==1)){ if (N*M==2){ cout<<"YES"<