m100= int(input()) m10= int(input()) def money(m100, m10): if m100[-1] % 2 ==0 and m10[-1] % 2 ==0: print("Yes") else: print('No') money(m100, m10)