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