#include <iostream>
# include <stdio.h>
# include <math.h>
using namespace std; 
 
int main()
{   int n; cin>>n; float newamount=100000;  

	for(int i=0;i<n;i++){
    float copy=newamount*21/20;
     copy=ceil(copy/1000);
     copy=copy*1000;
     newamount=copy;
	}
	cout<<ceil(newamount);
    return 0;
}