#include <iostream>                                                                                                                                                                                         
#include <algorithm>                                                                                                                                                                                        
#include <cstring>                                                                                                                                                                                          
#include <vector>                                                                                                                                                                                           
#include <numeric>                                                                                                                                                                                          
#include <cstdlib>                                                                                                                                                                                          
#include <queue>                                                                                                                                                                                            
#include <stack>                                                                                                                                                                                            
using namespace std;                                                                                                                                                                                        
                                                                                                                                                                                                            
typedef long long ll;                                                                                                                                                                                       
#define pb push_back                                                                                                                                                                                        
                                                                                                                                                                                                            
#define rep(i, n) for (int i=0;i<(n);++i)                                                                                                                                                                   
#define rep2(i, s, n) for (int i=s;i<(n);++i)                                                                                                                                                               
#define INF (1e9)                                                                                                                                                                                           
                                                                                                                                                                                                            
int main()                                                                                                                                                                                                  
{                                                                                                                                                                                                           
    int n,m,k;cin>>n>>m>>k;                                                                                                                                                                                 
                                                                                                                                                                                                            
    bool ans = false;                                                                                                                                                                                       
    rep(i,n+1) rep(j,m+1) if(i*m+j*n - 2*i*j == k) ans = true;                                                                                                                                              
                                                                                                                                                                                                            
    if(ans) cout << "Yes" << endl;                                                                                                                                                                          
    else cout << "No" << endl;                                                                                                                                                                              
}  

Measured memory_bytes: 256