n, x = map(int, input().split()) if n > 1 or x == 0: print("Yes") else: print("No")