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