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