n, m, c = map(int, input().split()) print("NO") if (n == 1 or m == 1) or (n & 1 and m & 1) else print("YES")