n,m=map(int,input().split) if n==1: print("No") else: print("Yes")