import java.util.Scanner;

class Main{	
	
	public static void main (String[] args){
		Scanner sc = new Scanner(System.in);
		while(sc.hasNext()){
			int n = sc.nextInt();
			int syakkin = 100000;
			for(int i=0;i<n;i++){
				syakkin *= 1.05;
				syakkin += 999;
				syakkin /= 1000;
				syakkin *= 1000;
				
			}
			System.out.println(syakkin);
		}
	}
} import java.util.Scanner; Scanner java.util class Main{	
	
	public static void main (String[] args){
		Scanner sc = new Scanner(System.in);
		while(sc.hasNext()){
			int n = sc.nextInt();
			int syakkin = 100000;
			for(int i=0;i<n;i++){
				syakkin *= 1.05;
				syakkin += 999;
				syakkin /= 1000;
				syakkin *= 1000;
				
			}
			System.out.println(syakkin);
		}
	}
} Main public static void main (String[] args){
		Scanner sc = new Scanner(System.in);
		while(sc.hasNext()){
			int n = sc.nextInt();
			int syakkin = 100000;
			for(int i=0;i<n;i++){
				syakkin *= 1.05;
				syakkin += 999;
				syakkin /= 1000;
				syakkin *= 1000;
				
			}
			System.out.println(syakkin);
		}
	} main {
		Scanner sc = new Scanner(System.in);
		while(sc.hasNext()){
			int n = sc.nextInt();
			int syakkin = 100000;
			for(int i=0;i<n;i++){
				syakkin *= 1.05;
				syakkin += 999;
				syakkin /= 1000;
				syakkin *= 1000;
				
			}
			System.out.println(syakkin);
		}
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) while(sc.hasNext()){
			int n = sc.nextInt();
			int syakkin = 100000;
			for(int i=0;i<n;i++){
				syakkin *= 1.05;
				syakkin += 999;
				syakkin /= 1000;
				syakkin *= 1000;
				
			}
			System.out.println(syakkin);
		} sc.hasNext() sc.hasNext sc {
			int n = sc.nextInt();
			int syakkin = 100000;
			for(int i=0;i<n;i++){
				syakkin *= 1.05;
				syakkin += 999;
				syakkin /= 1000;
				syakkin *= 1000;
				
			}
			System.out.println(syakkin);
		} int n = sc.nextInt(); n sc.nextInt() sc.nextInt sc int syakkin = 100000; syakkin 100000 for(int i=0;i<n;i++){
				syakkin *= 1.05;
				syakkin += 999;
				syakkin /= 1000;
				syakkin *= 1000;
				
			} int i=0; int i=0; i 0 i<n i n i++ i++ i {
				syakkin *= 1.05;
				syakkin += 999;
				syakkin /= 1000;
				syakkin *= 1000;
				
			} {
				syakkin *= 1.05;
				syakkin += 999;
				syakkin /= 1000;
				syakkin *= 1000;
				
			} syakkin *= 1.05 syakkin 1.05 syakkin += 999 syakkin 999 syakkin /= 1000 syakkin 1000 syakkin *= 1000 syakkin 1000 System.out.println(syakkin) System.out.println System.out System System.out syakkin String[] args args
import java.util.Scanner;

class Main{	
	
	public static void main (String[] args){
		Scanner sc = new Scanner(System.in);
		while(sc.hasNext()){
			int n = sc.nextInt();
			int syakkin = 100000;
			for(int i=0;i<n;i++){
				syakkin *= 1.05;
				syakkin += 999;
				syakkin /= 1000;
				syakkin *= 1000;
				
			}
			System.out.println(syakkin);
		}
	}
}