money=100000
n=int(input())
for day in range(n):
    money+=money*0.05
    money=-(-money//1000)*1000
print(int(money)) money=100000 money 100000 n=int(input()) n int(input()) int input() input for day in range(n):
    money+=money*0.05
    money=-(-money//1000)*1000 day range(n) range n money+=money*0.05 money money*0.05 money 0.05 money=-(-money//1000)*1000 money -(-money//1000)*1000 -(-money//1000) -money//1000 -money money 1000 1000 print(int(money)) print int(money) int money n=int(input()) int(input()) n money=100000 100000 money money=-(-money//1000)*1000 -(-money//1000)*1000 money money+=money*0.05 money*0.05 money
money=100000
n=int(input())
for day in range(n):
    money+=money*0.05
    money=-(-money//1000)*1000
print(int(money))
