num=int(input())
debt=100000
for i in range(1,num+1):
    debt+=((debt)/100)*5
    if not debt%1000==0:
        debt-=(debt%1000)
        debt+=1000
print(int(debt)) num=int(input()) num int(input()) int input() input debt=100000 debt 100000 for i in range(1,num+1):
    debt+=((debt)/100)*5
    if not debt%1000==0:
        debt-=(debt%1000)
        debt+=1000 i range(1,num+1) range 1 num+1 num 1 debt+=((debt)/100)*5 debt ((debt)/100)*5 (debt)/100 debt 100 5 if not debt%1000==0:
        debt-=(debt%1000)
        debt+=1000 not debt%1000==0 debt%1000==0 debt%1000 debt 1000 0 debt-=(debt%1000) debt debt%1000 debt 1000 debt+=1000 debt 1000 print(int(debt)) print int(debt) int debt debt+=((debt)/100)*5 ((debt)/100)*5 debt debt+=1000 1000 debt num=int(input()) int(input()) num debt-=(debt%1000) debt%1000 debt debt=100000 100000 debt
num=int(input())
debt=100000
for i in range(1,num+1):
    debt+=((debt)/100)*5
    if not debt%1000==0:
        debt-=(debt%1000)
        debt+=1000
print(int(debt))