def fx(N,M): if N*M==2: return 0 if N<2: return 1 if M<2: return 1 return N&M&1 N,M,C=map(int,input().split()) print(["YES","NO"][fx(N,M)])