#include <iostream>
#include <vector>
using namespace std;
int main(){
double n,money = 100000;
int r;
cin >> n;
for(;n;n--)
money*=1.05;
money=money/10000+1;
r=(int)money*10000;
cout << r << endl;
return 0;
}