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