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