N, M, C = map(int, input().split()) if N > M: N, M = M, N yes = (N == 1 and M == 2) or (N != 1 and N * M % 2 == 0) print('YES' if yes else 'NO')