
import java.util.Scanner;

public class Main {
	public static void main(String args[]){
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt(), det = 100000;
		int rishi;
		for(int i = 0; i < n; i++){
			rishi = (det/100) * 5;
			if(rishi%1000 == 0){
				rishi /= 1000;
			} else {
				rishi = (rishi/1000) +1;
			}
			rishi *= 1000;
			det += rishi;
		}
		System.out.println(det);	
	}
} 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(), det = 100000;
		int rishi;
		for(int i = 0; i < n; i++){
			rishi = (det/100) * 5;
			if(rishi%1000 == 0){
				rishi /= 1000;
			} else {
				rishi = (rishi/1000) +1;
			}
			rishi *= 1000;
			det += rishi;
		}
		System.out.println(det);	
	}
} Main public static void main(String args[]){
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt(), det = 100000;
		int rishi;
		for(int i = 0; i < n; i++){
			rishi = (det/100) * 5;
			if(rishi%1000 == 0){
				rishi /= 1000;
			} else {
				rishi = (rishi/1000) +1;
			}
			rishi *= 1000;
			det += rishi;
		}
		System.out.println(det);	
	} main {
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt(), det = 100000;
		int rishi;
		for(int i = 0; i < n; i++){
			rishi = (det/100) * 5;
			if(rishi%1000 == 0){
				rishi /= 1000;
			} else {
				rishi = (rishi/1000) +1;
			}
			rishi *= 1000;
			det += rishi;
		}
		System.out.println(det);	
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int n = sc.nextInt() n sc.nextInt() sc.nextInt sc det = 100000; det 100000 int rishi; rishi for(int i = 0; i < n; i++){
			rishi = (det/100) * 5;
			if(rishi%1000 == 0){
				rishi /= 1000;
			} else {
				rishi = (rishi/1000) +1;
			}
			rishi *= 1000;
			det += rishi;
		} int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
			rishi = (det/100) * 5;
			if(rishi%1000 == 0){
				rishi /= 1000;
			} else {
				rishi = (rishi/1000) +1;
			}
			rishi *= 1000;
			det += rishi;
		} {
			rishi = (det/100) * 5;
			if(rishi%1000 == 0){
				rishi /= 1000;
			} else {
				rishi = (rishi/1000) +1;
			}
			rishi *= 1000;
			det += rishi;
		} rishi = (det/100) * 5 rishi (det/100) * 5 (det/100) det 100 5 if(rishi%1000 == 0){
				rishi /= 1000;
			} else {
				rishi = (rishi/1000) +1;
			} rishi%1000 == 0 rishi%1000 rishi 1000 0 {
				rishi /= 1000;
			} rishi /= 1000 rishi 1000 {
				rishi = (rishi/1000) +1;
			} rishi = (rishi/1000) +1 rishi (rishi/1000) +1 (rishi/1000) rishi 1000 1 rishi *= 1000 rishi 1000 det += rishi det rishi System.out.println(det) System.out.println System.out System System.out det String args[] args public class Main {
	public static void main(String args[]){
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt(), det = 100000;
		int rishi;
		for(int i = 0; i < n; i++){
			rishi = (det/100) * 5;
			if(rishi%1000 == 0){
				rishi /= 1000;
			} else {
				rishi = (rishi/1000) +1;
			}
			rishi *= 1000;
			det += rishi;
		}
		System.out.println(det);	
	}
} public class Main {
	public static void main(String args[]){
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt(), det = 100000;
		int rishi;
		for(int i = 0; i < n; i++){
			rishi = (det/100) * 5;
			if(rishi%1000 == 0){
				rishi /= 1000;
			} else {
				rishi = (rishi/1000) +1;
			}
			rishi *= 1000;
			det += rishi;
		}
		System.out.println(det);	
	}
} Main

import java.util.Scanner;

public class Main {
	public static void main(String args[]){
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt(), det = 100000;
		int rishi;
		for(int i = 0; i < n; i++){
			rishi = (det/100) * 5;
			if(rishi%1000 == 0){
				rishi /= 1000;
			} else {
				rishi = (rishi/1000) +1;
			}
			rishi *= 1000;
			det += rishi;
		}
		System.out.println(det);	
	}
}