N, M, C = map(int, input().split()) def prt(x): if x == 0: print("NO") exit() else: print("YES") exit() if N > M: N, M = M, N if N == 1: if M == 1: prt(1) else: prt(0) if N % 2 == 0 or M % 2 == 0: prt(1) prt(0)