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