local n, m = io.read("*n", "*n") local lim = math.floor(n * (n + 1) / 2) if lim <= m then print("Yes") else print("No") end