N,M,C = map(int,raw_input().split()) if min(N,M) == 1: print "NO" else: print "YES" if N*M%2 == 0 else "NO"