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