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

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


