u = 10520
n = 2018
while u < 13500:
	n = n + 1
	u = 0.95 * u + 700

print(n)
