def main(): N = int(input()) M = int(input()) if (100*N+1000*M)%2==0: print('Yes') if __name__ == '__main__': main()