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

public class Main
{
	public static void main(String[] arg) throws IOException
	{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

		int n = Integer.parseInt(br.readLine());
		int debt = 100000;
		int add_debt =0; //additional debt
		double rate = 0.00005;

		while( n > 0 ){
		    add_debt = (int)Math.ceil(debt * rate);
		    debt += add_debt*1000;
		    n--;
		}
		System.out.println(debt);
	}
} import java.io.BufferedReader; BufferedReader java.io import java.io.InputStreamReader; InputStreamReader java.io import java.io.IOException; IOException java.io public class Main
{
	public static void main(String[] arg) throws IOException
	{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

		int n = Integer.parseInt(br.readLine());
		int debt = 100000;
		int add_debt =0; //additional debt
		double rate = 0.00005;

		while( n > 0 ){
		    add_debt = (int)Math.ceil(debt * rate);
		    debt += add_debt*1000;
		    n--;
		}
		System.out.println(debt);
	}
} Main public static void main(String[] arg) throws IOException
	{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

		int n = Integer.parseInt(br.readLine());
		int debt = 100000;
		int add_debt =0; //additional debt
		double rate = 0.00005;

		while( n > 0 ){
		    add_debt = (int)Math.ceil(debt * rate);
		    debt += add_debt*1000;
		    n--;
		}
		System.out.println(debt);
	} main {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

		int n = Integer.parseInt(br.readLine());
		int debt = 100000;
		int add_debt =0; //additional debt
		double rate = 0.00005;

		while( n > 0 ){
		    add_debt = (int)Math.ceil(debt * rate);
		    debt += add_debt*1000;
		    n--;
		}
		System.out.println(debt);
	} BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) int n = Integer.parseInt(br.readLine()); n Integer.parseInt(br.readLine()) Integer.parseInt Integer br.readLine() br.readLine br int debt = 100000; debt 100000 int add_debt =0; add_debt 0 double rate = 0.00005; rate 0.00005 while( n > 0 ){
		    add_debt = (int)Math.ceil(debt * rate);
		    debt += add_debt*1000;
		    n--;
		} n > 0 n 0 {
		    add_debt = (int)Math.ceil(debt * rate);
		    debt += add_debt*1000;
		    n--;
		} add_debt = (int)Math.ceil(debt * rate) add_debt (int)Math.ceil(debt * rate) Math.ceil Math debt * rate debt rate debt += add_debt*1000 debt add_debt*1000 add_debt 1000 n-- n System.out.println(debt) System.out.println System.out System System.out debt String[] arg arg public class Main
{
	public static void main(String[] arg) throws IOException
	{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

		int n = Integer.parseInt(br.readLine());
		int debt = 100000;
		int add_debt =0; //additional debt
		double rate = 0.00005;

		while( n > 0 ){
		    add_debt = (int)Math.ceil(debt * rate);
		    debt += add_debt*1000;
		    n--;
		}
		System.out.println(debt);
	}
} public class Main
{
	public static void main(String[] arg) throws IOException
	{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

		int n = Integer.parseInt(br.readLine());
		int debt = 100000;
		int add_debt =0; //additional debt
		double rate = 0.00005;

		while( n > 0 ){
		    add_debt = (int)Math.ceil(debt * rate);
		    debt += add_debt*1000;
		    n--;
		}
		System.out.println(debt);
	}
} Main
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.io.IOException;

public class Main
{
	public static void main(String[] arg) throws IOException
	{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

		int n = Integer.parseInt(br.readLine());
		int debt = 100000;
		int add_debt =0; //additional debt
		double rate = 0.00005;

		while( n > 0 ){
		    add_debt = (int)Math.ceil(debt * rate);
		    debt += add_debt*1000;
		    n--;
		}
		System.out.println(debt);
	}
}