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