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