print(lambda f,n:f(f,n))(lambda f,n:n==0 and 100000 or(lambda x:x%1000>0 and x-x%1000+1000 or x)(f(f,n-1)*105/100),int(raw_input())) print(lambda f,n:f(f,n))(lambda f,n:n==0 and 100000 or(lambda x:x%1000>0 and x-x%1000+1000 or x)(f(f,n-1)*105/100),int(raw_input())) (lambda f,n:f(f,n)) print lambda f,n:f(f,n) f(f,n) f f n f n lambda f,n:n==0 and 100000 or(lambda x:x%1000>0 and x-x%1000+1000 or x)(f(f,n-1)*105/100) n==0 and 100000 or(lambda x:x%1000>0 and x-x%1000+1000 or x)(f(f,n-1)*105/100) n==0 and 100000 n==0 n 0 100000 (lambda x:x%1000>0 and x-x%1000+1000 or x)(f(f,n-1)*105/100) lambda x:x%1000>0 and x-x%1000+1000 or x x%1000>0 and x-x%1000+1000 or x x%1000>0 and x-x%1000+1000 x%1000>0 x%1000 x 1000 0 x-x%1000+1000 x-x%1000 x x%1000 x 1000 1000 x x f(f,n-1)*105/100 f(f,n-1)*105 f(f,n-1) f f n-1 n 1 105 100 f n int(raw_input()) int raw_input() raw_input
print(lambda f,n:f(f,n))(lambda f,n:n==0 and 100000 or(lambda x:x%1000>0 and x-x%1000+1000 or x)(f(f,n-1)*105/100),int(raw_input()))