import java.util.Scanner;

public class Main{
	public static void main(String[] args){
		double dept = 100000;
		int keta = 1000;
		
		Scanner scan = new Scanner(System.in);
		
		int k = scan.nextInt();
		
		for(int i=0;i<k;i++){
			dept = dept * 1.05;
			dept = dept / keta;
			dept = keta* (Math.ceil(dept));
		}
		System.out.println((int)dept);
	}
	
} import java.util.Scanner; Scanner java.util public class Main{
	public static void main(String[] args){
		double dept = 100000;
		int keta = 1000;
		
		Scanner scan = new Scanner(System.in);
		
		int k = scan.nextInt();
		
		for(int i=0;i<k;i++){
			dept = dept * 1.05;
			dept = dept / keta;
			dept = keta* (Math.ceil(dept));
		}
		System.out.println((int)dept);
	}
	
} Main public static void main(String[] args){
		double dept = 100000;
		int keta = 1000;
		
		Scanner scan = new Scanner(System.in);
		
		int k = scan.nextInt();
		
		for(int i=0;i<k;i++){
			dept = dept * 1.05;
			dept = dept / keta;
			dept = keta* (Math.ceil(dept));
		}
		System.out.println((int)dept);
	} main {
		double dept = 100000;
		int keta = 1000;
		
		Scanner scan = new Scanner(System.in);
		
		int k = scan.nextInt();
		
		for(int i=0;i<k;i++){
			dept = dept * 1.05;
			dept = dept / keta;
			dept = keta* (Math.ceil(dept));
		}
		System.out.println((int)dept);
	} double dept = 100000; dept 100000 int keta = 1000; keta 1000 Scanner scan = new Scanner(System.in); scan new Scanner(System.in) int k = scan.nextInt(); k scan.nextInt() scan.nextInt scan for(int i=0;i<k;i++){
			dept = dept * 1.05;
			dept = dept / keta;
			dept = keta* (Math.ceil(dept));
		} int i=0; int i=0; i 0 i<k i k i++ i++ i {
			dept = dept * 1.05;
			dept = dept / keta;
			dept = keta* (Math.ceil(dept));
		} {
			dept = dept * 1.05;
			dept = dept / keta;
			dept = keta* (Math.ceil(dept));
		} dept = dept * 1.05 dept dept * 1.05 dept 1.05 dept = dept / keta dept dept / keta dept keta dept = keta* (Math.ceil(dept)) dept keta* (Math.ceil(dept)) keta (Math.ceil(dept)) Math.ceil Math dept System.out.println((int)dept) System.out.println System.out System System.out (int)dept String[] args args public class Main{
	public static void main(String[] args){
		double dept = 100000;
		int keta = 1000;
		
		Scanner scan = new Scanner(System.in);
		
		int k = scan.nextInt();
		
		for(int i=0;i<k;i++){
			dept = dept * 1.05;
			dept = dept / keta;
			dept = keta* (Math.ceil(dept));
		}
		System.out.println((int)dept);
	}
	
} public class Main{
	public static void main(String[] args){
		double dept = 100000;
		int keta = 1000;
		
		Scanner scan = new Scanner(System.in);
		
		int k = scan.nextInt();
		
		for(int i=0;i<k;i++){
			dept = dept * 1.05;
			dept = dept / keta;
			dept = keta* (Math.ceil(dept));
		}
		System.out.println((int)dept);
	}
	
} Main
import java.util.Scanner;

public class Main{
	public static void main(String[] args){
		double dept = 100000;
		int keta = 1000;
		
		Scanner scan = new Scanner(System.in);
		
		int k = scan.nextInt();
		
		for(int i=0;i<k;i++){
			dept = dept * 1.05;
			dept = dept / keta;
			dept = keta* (Math.ceil(dept));
		}
		System.out.println((int)dept);
	}
	
}