p = 1000
year = 0
while p < 1200:
    year += 1
    p *= 1.02
    p += 50
print(year)

4fb38d6122964ac0400a89da9f27805cfa36bacb
<mask token>

<mask token>
while p < 1200:
    year += 1
    p *= 1.02
    p += 50
print(year)

p = 1000
year = 0
while p < 1200:
    year += 1
    p *= 1.02
    p += 50
print(year)
