N=int(input())
a=100000
for i in range(N):
    x=a+(a*0.05)
    
    if x%1000==0:
        a=x
    else:
        a=(x-(x%1000))+1000

print(int(a)) N=int(input()) N int(input()) int input() input a=100000 a 100000 for i in range(N):
    x=a+(a*0.05)
    
    if x%1000==0:
        a=x
    else:
        a=(x-(x%1000))+1000 i range(N) range N x=a+(a*0.05) x a+(a*0.05) a a*0.05 a 0.05 if x%1000==0:
        a=x
    else:
        a=(x-(x%1000))+1000 x%1000==0 x%1000 x 1000 0 a=x a x a=(x-(x%1000))+1000 a (x-(x%1000))+1000 x-(x%1000) x x%1000 x 1000 1000 print(int(a)) print int(a) int a a=100000 100000 a x=a+(a*0.05) a+(a*0.05) x a=x x a a=(x-(x%1000))+1000 (x-(x%1000))+1000 a N=int(input()) int(input()) N
N=int(input())
a=100000
for i in range(N):
    x=a+(a*0.05)
    
    if x%1000==0:
        a=x
    else:
        a=(x-(x%1000))+1000

print(int(a))
