//0007:   Debt Hell
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

class Main {

	public static void main(String[] args) throws IOException {

		BufferedReader in = new BufferedReader(new InputStreamReader(System.in));

		 int week = Integer.parseInt(in.readLine());

		 int debt = 100000;
		 
		 for(int i=0;i<week;i++){
			 debt =(int)Math.ceil(debt*1.05/1000)*1000;
		 }

			System.out.println(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 in = new BufferedReader(new InputStreamReader(System.in));

		 int week = Integer.parseInt(in.readLine());

		 int debt = 100000;
		 
		 for(int i=0;i<week;i++){
			 debt =(int)Math.ceil(debt*1.05/1000)*1000;
		 }

			System.out.println(debt);

	}
} Main public static void main(String[] args) throws IOException {

		BufferedReader in = new BufferedReader(new InputStreamReader(System.in));

		 int week = Integer.parseInt(in.readLine());

		 int debt = 100000;
		 
		 for(int i=0;i<week;i++){
			 debt =(int)Math.ceil(debt*1.05/1000)*1000;
		 }

			System.out.println(debt);

	} main {

		BufferedReader in = new BufferedReader(new InputStreamReader(System.in));

		 int week = Integer.parseInt(in.readLine());

		 int debt = 100000;
		 
		 for(int i=0;i<week;i++){
			 debt =(int)Math.ceil(debt*1.05/1000)*1000;
		 }

			System.out.println(debt);

	} BufferedReader in = new BufferedReader(new InputStreamReader(System.in)); in new BufferedReader(new InputStreamReader(System.in)) int week = Integer.parseInt(in.readLine()); week Integer.parseInt(in.readLine()) Integer.parseInt Integer in.readLine() in.readLine in int debt = 100000; debt 100000 for(int i=0;i<week;i++){
			 debt =(int)Math.ceil(debt*1.05/1000)*1000;
		 } int i=0; int i=0; i 0 i<week i week i++ i++ i {
			 debt =(int)Math.ceil(debt*1.05/1000)*1000;
		 } {
			 debt =(int)Math.ceil(debt*1.05/1000)*1000;
		 } debt =(int)Math.ceil(debt*1.05/1000)*1000 debt (int)Math.ceil(debt*1.05/1000)*1000 (int)Math.ceil(debt*1.05/1000) Math.ceil Math debt*1.05/1000 debt*1.05 debt 1.05 1000 1000 System.out.println(debt) System.out.println System.out System System.out debt String[] args args
//0007:   Debt Hell
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

class Main {

	public static void main(String[] args) throws IOException {

		BufferedReader in = new BufferedReader(new InputStreamReader(System.in));

		 int week = Integer.parseInt(in.readLine());

		 int debt = 100000;
		 
		 for(int i=0;i<week;i++){
			 debt =(int)Math.ceil(debt*1.05/1000)*1000;
		 }

			System.out.println(debt);

	}
}