def main(): N, M = int(input()),int(input()) #100yen coins total Nh = 100 * N #10yen coins total Mt = 10 * M #heritage total H = Nh + Mt #print(H) if H % 2 == 0: print('Yes') else: print('No') if __name__ == '__main__': main()