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