u = 9
n = 0
while u < 1000:
    n = n + 1
    u = 1.2*u - 1

print(n)
