N,M,C=[int(i) for i in input().split()] if (N==1 and M!=2) or (M==1 and N!=2) : print('NO') elif N%2==0 or M%2==0: print('YES') else: #N%2==1 and M%2==1 print('NO')