N,M,C = map(int,input().split()) if N % 2 == 0 or M % 2 == 0: print("YES") elif N == 1 and M == 1: print("YES") else: print("NO")