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