n=int(input())
sum=100000
for i in range(n):
    sum=sum*1.05
    i+=1
    if sum%1000>0:
        sum=sum-sum%1000
        sum+=1000
print(int(sum)) n=int(input()) n int(input()) int input() input sum=100000 sum 100000 for i in range(n):
    sum=sum*1.05
    i+=1
    if sum%1000>0:
        sum=sum-sum%1000
        sum+=1000 i range(n) range n sum=sum*1.05 sum sum*1.05 sum 1.05 i+=1 i 1 if sum%1000>0:
        sum=sum-sum%1000
        sum+=1000 sum%1000>0 sum%1000 sum 1000 0 sum=sum-sum%1000 sum sum-sum%1000 sum sum%1000 sum 1000 sum+=1000 sum 1000 print(int(sum)) print int(sum) int sum sum=sum*1.05 sum*1.05 sum i+=1 1 i sum=sum-sum%1000 sum-sum%1000 sum sum+=1000 1000 sum n=int(input()) int(input()) n sum=100000 100000 sum
n=int(input())
sum=100000
for i in range(n):
    sum=sum*1.05
    i+=1
    if sum%1000>0:
        sum=sum-sum%1000
        sum+=1000
print(int(sum))
