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