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