n,z = map(int,input().split()) if n >= 3: print("No") else: print("Yes")