n,m,c = map(int, input().split()) a = n*m if n == 1 or m == 1: if a == 2: print('YES') exit() else: print('NO') exit() if a%2 == 0: print('YES') else: print('NO')