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