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