
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

class Main
{

	public static void main(String[] args)throws IOException
	{
		BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
		String str;
		while((str=br.readLine())!=null)
		{
			int n=Integer.parseInt(str);
			int debt=100000;
			System.out.println(debt(debt,n));


		}
	}

	static int debt(int debt,int n)
	{
		int add=(int)Math.ceil(((int)Math.round(debt*5.0/100.0))/1000.0)*1000;
		debt+=add;
		n--;
		if(n>0){return debt(debt,n);}
		else{return debt;}
	}



} import java.io.BufferedReader; BufferedReader java.io import java.io.IOException; IOException java.io import java.io.InputStreamReader; InputStreamReader java.io class Main
{

	public static void main(String[] args)throws IOException
	{
		BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
		String str;
		while((str=br.readLine())!=null)
		{
			int n=Integer.parseInt(str);
			int debt=100000;
			System.out.println(debt(debt,n));


		}
	}

	static int debt(int debt,int n)
	{
		int add=(int)Math.ceil(((int)Math.round(debt*5.0/100.0))/1000.0)*1000;
		debt+=add;
		n--;
		if(n>0){return debt(debt,n);}
		else{return debt;}
	}



} Main public static void main(String[] args)throws IOException
	{
		BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
		String str;
		while((str=br.readLine())!=null)
		{
			int n=Integer.parseInt(str);
			int debt=100000;
			System.out.println(debt(debt,n));


		}
	} main {
		BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
		String str;
		while((str=br.readLine())!=null)
		{
			int n=Integer.parseInt(str);
			int debt=100000;
			System.out.println(debt(debt,n));


		}
	} BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) String str; str while((str=br.readLine())!=null)
		{
			int n=Integer.parseInt(str);
			int debt=100000;
			System.out.println(debt(debt,n));


		} (str=br.readLine())!=null (str=br.readLine()) str br.readLine() br.readLine br null {
			int n=Integer.parseInt(str);
			int debt=100000;
			System.out.println(debt(debt,n));


		} int n=Integer.parseInt(str); n Integer.parseInt(str) Integer.parseInt Integer str int debt=100000; debt 100000 System.out.println(debt(debt,n)) System.out.println System.out System System.out debt(debt,n) debt debt n String[] args args static int debt(int debt,int n)
	{
		int add=(int)Math.ceil(((int)Math.round(debt*5.0/100.0))/1000.0)*1000;
		debt+=add;
		n--;
		if(n>0){return debt(debt,n);}
		else{return debt;}
	} debt {
		int add=(int)Math.ceil(((int)Math.round(debt*5.0/100.0))/1000.0)*1000;
		debt+=add;
		n--;
		if(n>0){return debt(debt,n);}
		else{return debt;}
	} int add=(int)Math.ceil(((int)Math.round(debt*5.0/100.0))/1000.0)*1000; add (int)Math.ceil(((int)Math.round(debt*5.0/100.0))/1000.0)*1000 (int)Math.ceil(((int)Math.round(debt*5.0/100.0))/1000.0) Math.ceil Math ((int)Math.round(debt*5.0/100.0))/1000.0 ((int)Math.round(debt*5.0/100.0)) Math.round Math debt*5.0/100.0 debt*5.0 debt 5.0 100.0 1000.0 1000 debt+=add debt add n-- n if(n>0){return debt(debt,n);}
		else{return debt;} n>0 n 0 {return debt(debt,n);} return debt(debt,n); debt(debt,n) debt debt n {return debt;} return debt; debt int debt debt int n n

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

class Main
{

	public static void main(String[] args)throws IOException
	{
		BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
		String str;
		while((str=br.readLine())!=null)
		{
			int n=Integer.parseInt(str);
			int debt=100000;
			System.out.println(debt(debt,n));


		}
	}

	static int debt(int debt,int n)
	{
		int add=(int)Math.ceil(((int)Math.round(debt*5.0/100.0))/1000.0)*1000;
		debt+=add;
		n--;
		if(n>0){return debt(debt,n);}
		else{return debt;}
	}



}