import sys input=lambda: sys.stdin.readline().rstrip() n,m,c=map(int,input().split()) if n==1 and m==1: print("YES") elif n==1 and m==2: print("YES") elif n==2 and m==1: print("YES") elif n==1 or m==1: print("NO") elif n%2==0 or m%2==0: print("YES") else: print("NO")