N=int(input()) M=int(input())/10 S=100*N+M*10 print("No" if S%2!=0 else "Yes")