dohod = 5000
procent = - 0.20
dohod += dohod * procent
i = 0
a = dohod
while i < 12:
i += 1
print(i, a)
a = a + dohod
print(a)
dohod = 5000
procent = - 0.20
dohod += dohod * procent
i = 0
a = dohod
while True:
i += 1
print(i, a)
if i == 12:
break
a = a + dohod
print(a)