class Solution:

    def arrangeCoins(self, n):
        c = i = 0
        while i < n:
            i += 1
            c += i
            n -= i
        return i

cb0e073de58b44861484704b30851283e17f4295
<mask token>

class Solution:
    <mask token>

class Solution:

    def arrangeCoins(self, n):
        c = i = 0
        while i < n:
            i += 1
            c += i
            n -= i
        return i
