import java.math.BigDecimal;
import java.util.Scanner;

class Main{


	public static void main(String[] a){

		Scanner sc = new Scanner(System.in);


		int gankin = 100000;

		int n = sc.nextInt();

		for(int i = 0; i < n; i++) {

			double rishi = gankin * 0.05;

			double newGankin = gankin + rishi;

			BigDecimal bd = new BigDecimal(newGankin);
			bd = bd.setScale(-3, BigDecimal.ROUND_UP);

			gankin = (int)bd.doubleValue();
		}

		System.out.println(gankin);

		sc.close();
	}


} import java.math.BigDecimal; BigDecimal java.math import java.util.Scanner; Scanner java.util class Main{


	public static void main(String[] a){

		Scanner sc = new Scanner(System.in);


		int gankin = 100000;

		int n = sc.nextInt();

		for(int i = 0; i < n; i++) {

			double rishi = gankin * 0.05;

			double newGankin = gankin + rishi;

			BigDecimal bd = new BigDecimal(newGankin);
			bd = bd.setScale(-3, BigDecimal.ROUND_UP);

			gankin = (int)bd.doubleValue();
		}

		System.out.println(gankin);

		sc.close();
	}


} Main public static void main(String[] a){

		Scanner sc = new Scanner(System.in);


		int gankin = 100000;

		int n = sc.nextInt();

		for(int i = 0; i < n; i++) {

			double rishi = gankin * 0.05;

			double newGankin = gankin + rishi;

			BigDecimal bd = new BigDecimal(newGankin);
			bd = bd.setScale(-3, BigDecimal.ROUND_UP);

			gankin = (int)bd.doubleValue();
		}

		System.out.println(gankin);

		sc.close();
	} main {

		Scanner sc = new Scanner(System.in);


		int gankin = 100000;

		int n = sc.nextInt();

		for(int i = 0; i < n; i++) {

			double rishi = gankin * 0.05;

			double newGankin = gankin + rishi;

			BigDecimal bd = new BigDecimal(newGankin);
			bd = bd.setScale(-3, BigDecimal.ROUND_UP);

			gankin = (int)bd.doubleValue();
		}

		System.out.println(gankin);

		sc.close();
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int gankin = 100000; gankin 100000 int n = sc.nextInt(); n sc.nextInt() sc.nextInt sc for(int i = 0; i < n; i++) {

			double rishi = gankin * 0.05;

			double newGankin = gankin + rishi;

			BigDecimal bd = new BigDecimal(newGankin);
			bd = bd.setScale(-3, BigDecimal.ROUND_UP);

			gankin = (int)bd.doubleValue();
		} int i = 0; int i = 0; i 0 i < n i n i++ i++ i {

			double rishi = gankin * 0.05;

			double newGankin = gankin + rishi;

			BigDecimal bd = new BigDecimal(newGankin);
			bd = bd.setScale(-3, BigDecimal.ROUND_UP);

			gankin = (int)bd.doubleValue();
		} {

			double rishi = gankin * 0.05;

			double newGankin = gankin + rishi;

			BigDecimal bd = new BigDecimal(newGankin);
			bd = bd.setScale(-3, BigDecimal.ROUND_UP);

			gankin = (int)bd.doubleValue();
		} double rishi = gankin * 0.05; rishi gankin * 0.05 gankin 0.05 double newGankin = gankin + rishi; newGankin gankin + rishi gankin rishi BigDecimal bd = new BigDecimal(newGankin); bd new BigDecimal(newGankin) bd = bd.setScale(-3, BigDecimal.ROUND_UP) bd bd.setScale(-3, BigDecimal.ROUND_UP) bd.setScale bd -3 3 BigDecimal.ROUND_UP BigDecimal BigDecimal.ROUND_UP gankin = (int)bd.doubleValue() gankin (int)bd.doubleValue() bd.doubleValue bd System.out.println(gankin) System.out.println System.out System System.out gankin sc.close() sc.close sc String[] a a
import java.math.BigDecimal;
import java.util.Scanner;

class Main{


	public static void main(String[] a){

		Scanner sc = new Scanner(System.in);


		int gankin = 100000;

		int n = sc.nextInt();

		for(int i = 0; i < n; i++) {

			double rishi = gankin * 0.05;

			double newGankin = gankin + rishi;

			BigDecimal bd = new BigDecimal(newGankin);
			bd = bd.setScale(-3, BigDecimal.ROUND_UP);

			gankin = (int)bd.doubleValue();
		}

		System.out.println(gankin);

		sc.close();
	}


}