#include <bits/stdc++.h>
//#include <iostream>
//#include <Windows.h>
using namespace std;

int main(){
int n;
double a=100;
cin>>n;
while(n--){
	a+=a*5/100;
        a=ceil(a);
}
cout<<a*1000;
return 0;
}