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