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