import java.util.Scanner;


public class Main {
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();
		int sum = 100000;	//100,000yen
		for(int i=0; i<n; i++){
			sum += Main.DeptMaker(sum);
		}
		System.out.println(sum);
	}
	private static int DeptMaker(int sum){
		int dept = (int) Math.ceil((sum * 0.05)/1000)*1000;
		return  dept;
	}
} import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();
		int sum = 100000;	//100,000yen
		for(int i=0; i<n; i++){
			sum += Main.DeptMaker(sum);
		}
		System.out.println(sum);
	}
	private static int DeptMaker(int sum){
		int dept = (int) Math.ceil((sum * 0.05)/1000)*1000;
		return  dept;
	}
} Main public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();
		int sum = 100000;	//100,000yen
		for(int i=0; i<n; i++){
			sum += Main.DeptMaker(sum);
		}
		System.out.println(sum);
	} main {
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();
		int sum = 100000;	//100,000yen
		for(int i=0; i<n; i++){
			sum += Main.DeptMaker(sum);
		}
		System.out.println(sum);
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int n = sc.nextInt(); n sc.nextInt() sc.nextInt sc int sum = 100000; sum 100000 for(int i=0; i<n; i++){
			sum += Main.DeptMaker(sum);
		} int i=0; int i=0; i 0 i<n i n i++ i++ i {
			sum += Main.DeptMaker(sum);
		} {
			sum += Main.DeptMaker(sum);
		} sum += Main.DeptMaker(sum) sum Main.DeptMaker(sum) Main.DeptMaker Main sum System.out.println(sum) System.out.println System.out System System.out sum String[] args args private static int DeptMaker(int sum){
		int dept = (int) Math.ceil((sum * 0.05)/1000)*1000;
		return  dept;
	} DeptMaker {
		int dept = (int) Math.ceil((sum * 0.05)/1000)*1000;
		return  dept;
	} int dept = (int) Math.ceil((sum * 0.05)/1000)*1000; dept (int) Math.ceil((sum * 0.05)/1000)*1000 (int) Math.ceil((sum * 0.05)/1000) Math.ceil Math (sum * 0.05)/1000 (sum * 0.05) sum 0.05 1000 1000 return  dept; dept int sum sum public class Main {
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();
		int sum = 100000;	//100,000yen
		for(int i=0; i<n; i++){
			sum += Main.DeptMaker(sum);
		}
		System.out.println(sum);
	}
	private static int DeptMaker(int sum){
		int dept = (int) Math.ceil((sum * 0.05)/1000)*1000;
		return  dept;
	}
} public class Main {
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();
		int sum = 100000;	//100,000yen
		for(int i=0; i<n; i++){
			sum += Main.DeptMaker(sum);
		}
		System.out.println(sum);
	}
	private static int DeptMaker(int sum){
		int dept = (int) Math.ceil((sum * 0.05)/1000)*1000;
		return  dept;
	}
} Main
import java.util.Scanner;


public class Main {
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();
		int sum = 100000;	//100,000yen
		for(int i=0; i<n; i++){
			sum += Main.DeptMaker(sum);
		}
		System.out.println(sum);
	}
	private static int DeptMaker(int sum){
		int dept = (int) Math.ceil((sum * 0.05)/1000)*1000;
		return  dept;
	}
}