week=int(input())
money=100000
for i in range(week):
    money=money*1.05
    if money%1000!=0:
        money=1000*(money//1000+1)

print(int(money)) week=int(input()) week int(input()) int input() input money=100000 money 100000 for i in range(week):
    money=money*1.05
    if money%1000!=0:
        money=1000*(money//1000+1) i range(week) range week money=money*1.05 money money*1.05 money 1.05 if money%1000!=0:
        money=1000*(money//1000+1) money%1000!=0 money%1000 money 1000 0 money=1000*(money//1000+1) money 1000*(money//1000+1) 1000 money//1000+1 money//1000 money 1000 1 print(int(money)) print int(money) int money week=int(input()) int(input()) week money=money*1.05 money*1.05 money money=100000 100000 money money=1000*(money//1000+1) 1000*(money//1000+1) money
week=int(input())
money=100000
for i in range(week):
    money=money*1.05
    if money%1000!=0:
        money=1000*(money//1000+1)

print(int(money))