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