#include <iostream>
#include <cstdio>
using namespace std;
#define REP0(i,n) for(int i=0;i<n;++i)
#define REP1(i,n) for(int i=1;i<=n;++i)
#define ALL(c) (c).begin(),(c).end()
int main(){
	int d=100000,n;
	scanf("%d",&n);
	REP0(i,n){
		d=d*105/100;
		d=(d+999)/1000*1000;
	}
	printf("%d\n",d);
	return 0;
}