n, m, c = [ int(v) for v in input().split() ] if n == 1 or m == 1 or (m * n % 2) == 1: print("NO") else: print("YES")