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

public class Main {

	public static void main(String[] args) {
		int num = 100000;
		int syuu = 0;
		double goukei = 0;
		double risi = 0;

		Scanner scan = new Scanner(System.in);
		syuu = scan.nextInt();
		for (int i = 0 ; i < syuu ; i++){
			risi = num * 0.05;
			num = num + (int)risi;
			risi = 0;
			BigDecimal bd = new BigDecimal(num);
			bd = bd.setScale(-3, BigDecimal.ROUND_UP);

			num = (int)bd.doubleValue();
		}
		//BigDecimal bd = new BigDecimal(num);
		//bd = bd.setScale(-3, BigDecimal.ROUND_UP);

		//num = (int)bd.doubleValue();
		System.out.println(num);
		
	}

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

	public static void main(String[] args) {
		int num = 100000;
		int syuu = 0;
		double goukei = 0;
		double risi = 0;

		Scanner scan = new Scanner(System.in);
		syuu = scan.nextInt();
		for (int i = 0 ; i < syuu ; i++){
			risi = num * 0.05;
			num = num + (int)risi;
			risi = 0;
			BigDecimal bd = new BigDecimal(num);
			bd = bd.setScale(-3, BigDecimal.ROUND_UP);

			num = (int)bd.doubleValue();
		}
		//BigDecimal bd = new BigDecimal(num);
		//bd = bd.setScale(-3, BigDecimal.ROUND_UP);

		//num = (int)bd.doubleValue();
		System.out.println(num);
		
	}

} Main public static void main(String[] args) {
		int num = 100000;
		int syuu = 0;
		double goukei = 0;
		double risi = 0;

		Scanner scan = new Scanner(System.in);
		syuu = scan.nextInt();
		for (int i = 0 ; i < syuu ; i++){
			risi = num * 0.05;
			num = num + (int)risi;
			risi = 0;
			BigDecimal bd = new BigDecimal(num);
			bd = bd.setScale(-3, BigDecimal.ROUND_UP);

			num = (int)bd.doubleValue();
		}
		//BigDecimal bd = new BigDecimal(num);
		//bd = bd.setScale(-3, BigDecimal.ROUND_UP);

		//num = (int)bd.doubleValue();
		System.out.println(num);
		
	} main {
		int num = 100000;
		int syuu = 0;
		double goukei = 0;
		double risi = 0;

		Scanner scan = new Scanner(System.in);
		syuu = scan.nextInt();
		for (int i = 0 ; i < syuu ; i++){
			risi = num * 0.05;
			num = num + (int)risi;
			risi = 0;
			BigDecimal bd = new BigDecimal(num);
			bd = bd.setScale(-3, BigDecimal.ROUND_UP);

			num = (int)bd.doubleValue();
		}
		//BigDecimal bd = new BigDecimal(num);
		//bd = bd.setScale(-3, BigDecimal.ROUND_UP);

		//num = (int)bd.doubleValue();
		System.out.println(num);
		
	} int num = 100000; num 100000 int syuu = 0; syuu 0 double goukei = 0; goukei 0 double risi = 0; risi 0 Scanner scan = new Scanner(System.in); scan new Scanner(System.in) syuu = scan.nextInt() syuu scan.nextInt() scan.nextInt scan for (int i = 0 ; i < syuu ; i++){
			risi = num * 0.05;
			num = num + (int)risi;
			risi = 0;
			BigDecimal bd = new BigDecimal(num);
			bd = bd.setScale(-3, BigDecimal.ROUND_UP);

			num = (int)bd.doubleValue();
		} int i = 0 ; int i = 0 ; i 0 i < syuu i syuu i++ i++ i {
			risi = num * 0.05;
			num = num + (int)risi;
			risi = 0;
			BigDecimal bd = new BigDecimal(num);
			bd = bd.setScale(-3, BigDecimal.ROUND_UP);

			num = (int)bd.doubleValue();
		} {
			risi = num * 0.05;
			num = num + (int)risi;
			risi = 0;
			BigDecimal bd = new BigDecimal(num);
			bd = bd.setScale(-3, BigDecimal.ROUND_UP);

			num = (int)bd.doubleValue();
		} risi = num * 0.05 risi num * 0.05 num 0.05 num = num + (int)risi num num + (int)risi num (int)risi risi = 0 risi 0 BigDecimal bd = new BigDecimal(num); bd new BigDecimal(num) 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 num = (int)bd.doubleValue() num (int)bd.doubleValue() bd.doubleValue bd System.out.println(num) System.out.println System.out System System.out num String[] args args public class Main {

	public static void main(String[] args) {
		int num = 100000;
		int syuu = 0;
		double goukei = 0;
		double risi = 0;

		Scanner scan = new Scanner(System.in);
		syuu = scan.nextInt();
		for (int i = 0 ; i < syuu ; i++){
			risi = num * 0.05;
			num = num + (int)risi;
			risi = 0;
			BigDecimal bd = new BigDecimal(num);
			bd = bd.setScale(-3, BigDecimal.ROUND_UP);

			num = (int)bd.doubleValue();
		}
		//BigDecimal bd = new BigDecimal(num);
		//bd = bd.setScale(-3, BigDecimal.ROUND_UP);

		//num = (int)bd.doubleValue();
		System.out.println(num);
		
	}

} public class Main {

	public static void main(String[] args) {
		int num = 100000;
		int syuu = 0;
		double goukei = 0;
		double risi = 0;

		Scanner scan = new Scanner(System.in);
		syuu = scan.nextInt();
		for (int i = 0 ; i < syuu ; i++){
			risi = num * 0.05;
			num = num + (int)risi;
			risi = 0;
			BigDecimal bd = new BigDecimal(num);
			bd = bd.setScale(-3, BigDecimal.ROUND_UP);

			num = (int)bd.doubleValue();
		}
		//BigDecimal bd = new BigDecimal(num);
		//bd = bd.setScale(-3, BigDecimal.ROUND_UP);

		//num = (int)bd.doubleValue();
		System.out.println(num);
		
	}

} Main

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

public class Main {

	public static void main(String[] args) {
		int num = 100000;
		int syuu = 0;
		double goukei = 0;
		double risi = 0;

		Scanner scan = new Scanner(System.in);
		syuu = scan.nextInt();
		for (int i = 0 ; i < syuu ; i++){
			risi = num * 0.05;
			num = num + (int)risi;
			risi = 0;
			BigDecimal bd = new BigDecimal(num);
			bd = bd.setScale(-3, BigDecimal.ROUND_UP);

			num = (int)bd.doubleValue();
		}
		//BigDecimal bd = new BigDecimal(num);
		//bd = bd.setScale(-3, BigDecimal.ROUND_UP);

		//num = (int)bd.doubleValue();
		System.out.println(num);
		
	}

}