N, M = map(int, input().split())
sum_min = N * (N + 1) // 2
print("Yes" if M >= sum_min else "No")