n,m,c=map(int,input().split()) s="NO" if n*m%2<1: s="YES" if n>2>m or m>2>n: s="NO" print(s)