n,m,c=map(int,input().split()) if n == 1 or m == 1: if c==1 or c== n*m: print('YES') else: print('NO') exit() if (n*m)%2==0: print('YES') else: print('NO')