For positive integers n and m, calculate s = 1 + 2 + 3 + ... + n. At which term will the value of s exceed m?
Input m. (1 ≤ m ≤ 40000)
Output n.
1000
45
Using your Hydro universal account