#include<iostream>
#include<stdio.h>
using namespace std;

int n;
double rent = 100000;

int main()
	{
		cin>>n;
		for(int i=0;i<n;i++)
		{
		 rent = rent * 1.05 ;
		 if( rent % 1000 != 0)
		 rent = rent + 1000;
		 
		}
		printf("%.0lf\n",rent);
		return 0;
	}