N, M, C = map(int, input().split()) ans = 'YES' if N%2 == 1 and M%2 == 1: ans = 'NO' if N == 1 and M > 2: ans = 'NO' if M == 1 and N > 2: ans = 'NO' print(ans)