n, m, c = map(int, input().split()) if n * m == 2: print("YES") elif n >= 2 and m >= 2 and (n % 2 == 0 or m % 2 == 0): print("YES") else: print("NO")