N=1000;print(lambda f,n:f(f,n))(lambda f,n:n==0 and 100*N or(lambda x:x%N>0 and x-x%N+N or x)(f(f,n-1)*105/100),input()) N=1000 N 1000 print(lambda f,n:f(f,n))(lambda f,n:n==0 and 100*N or(lambda x:x%N>0 and x-x%N+N or x)(f(f,n-1)*105/100),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 100*N or(lambda x:x%N>0 and x-x%N+N or x)(f(f,n-1)*105/100) n==0 and 100*N or(lambda x:x%N>0 and x-x%N+N or x)(f(f,n-1)*105/100) n==0 and 100*N n==0 n 0 100*N 100 N (lambda x:x%N>0 and x-x%N+N or x)(f(f,n-1)*105/100) lambda x:x%N>0 and x-x%N+N or x x%N>0 and x-x%N+N or x x%N>0 and x-x%N+N x%N>0 x%N x N 0 x-x%N+N x-x%N x x%N x N N 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 input() input N=1000 1000 N
N=1000;print(lambda f,n:f(f,n))(lambda f,n:n==0 and 100*N or(lambda x:x%N>0 and x-x%N+N or x)(f(f,n-1)*105/100),input())