import java.io.BufferedReader;
import java.io.InputStreamReader;
class Main{
    public static void main(String args[]){
	try{
	    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
	    String str = br.readLine();
	    int n = Integer.parseInt(str);
	    double init = 100000;
	    for(int i=0;i<n;i++){
		init = init * 1.05;
		if((init / 1000) % 1 > 0){
		    init = (init/1000 - ((init / 1000) % 1) + 1)*1000;
		}
	    }
	    System.out.printf("%d\n",(int)(init));
	}
	catch(Exception e){
	    System.exit(0);
	}
    }
} import java.io.BufferedReader; BufferedReader java.io import java.io.InputStreamReader; InputStreamReader java.io class Main{
    public static void main(String args[]){
	try{
	    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
	    String str = br.readLine();
	    int n = Integer.parseInt(str);
	    double init = 100000;
	    for(int i=0;i<n;i++){
		init = init * 1.05;
		if((init / 1000) % 1 > 0){
		    init = (init/1000 - ((init / 1000) % 1) + 1)*1000;
		}
	    }
	    System.out.printf("%d\n",(int)(init));
	}
	catch(Exception e){
	    System.exit(0);
	}
    }
} Main public static void main(String args[]){
	try{
	    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
	    String str = br.readLine();
	    int n = Integer.parseInt(str);
	    double init = 100000;
	    for(int i=0;i<n;i++){
		init = init * 1.05;
		if((init / 1000) % 1 > 0){
		    init = (init/1000 - ((init / 1000) % 1) + 1)*1000;
		}
	    }
	    System.out.printf("%d\n",(int)(init));
	}
	catch(Exception e){
	    System.exit(0);
	}
    } main {
	try{
	    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
	    String str = br.readLine();
	    int n = Integer.parseInt(str);
	    double init = 100000;
	    for(int i=0;i<n;i++){
		init = init * 1.05;
		if((init / 1000) % 1 > 0){
		    init = (init/1000 - ((init / 1000) % 1) + 1)*1000;
		}
	    }
	    System.out.printf("%d\n",(int)(init));
	}
	catch(Exception e){
	    System.exit(0);
	}
    } try{
	    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
	    String str = br.readLine();
	    int n = Integer.parseInt(str);
	    double init = 100000;
	    for(int i=0;i<n;i++){
		init = init * 1.05;
		if((init / 1000) % 1 > 0){
		    init = (init/1000 - ((init / 1000) % 1) + 1)*1000;
		}
	    }
	    System.out.printf("%d\n",(int)(init));
	}
	catch(Exception e){
	    System.exit(0);
	} catch(Exception e){
	    System.exit(0);
	} Exception e {
	    System.exit(0);
	} System.exit(0) System.exit System 0 {
	    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
	    String str = br.readLine();
	    int n = Integer.parseInt(str);
	    double init = 100000;
	    for(int i=0;i<n;i++){
		init = init * 1.05;
		if((init / 1000) % 1 > 0){
		    init = (init/1000 - ((init / 1000) % 1) + 1)*1000;
		}
	    }
	    System.out.printf("%d\n",(int)(init));
	} BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) String str = br.readLine(); str br.readLine() br.readLine br int n = Integer.parseInt(str); n Integer.parseInt(str) Integer.parseInt Integer str double init = 100000; init 100000 for(int i=0;i<n;i++){
		init = init * 1.05;
		if((init / 1000) % 1 > 0){
		    init = (init/1000 - ((init / 1000) % 1) + 1)*1000;
		}
	    } int i=0; int i=0; i 0 i<n i n i++ i++ i {
		init = init * 1.05;
		if((init / 1000) % 1 > 0){
		    init = (init/1000 - ((init / 1000) % 1) + 1)*1000;
		}
	    } {
		init = init * 1.05;
		if((init / 1000) % 1 > 0){
		    init = (init/1000 - ((init / 1000) % 1) + 1)*1000;
		}
	    } init = init * 1.05 init init * 1.05 init 1.05 if((init / 1000) % 1 > 0){
		    init = (init/1000 - ((init / 1000) % 1) + 1)*1000;
		} (init / 1000) % 1 > 0 (init / 1000) % 1 (init / 1000) init 1000 1 0 {
		    init = (init/1000 - ((init / 1000) % 1) + 1)*1000;
		} init = (init/1000 - ((init / 1000) % 1) + 1)*1000 init (init/1000 - ((init / 1000) % 1) + 1)*1000 (init/1000 - ((init / 1000) % 1) + 1) init/1000 - ((init / 1000) % 1) init/1000 init 1000 ((init / 1000) % 1) (init / 1000) init 1000 1 1 1000 System.out.printf("%d\n",(int)(init)) System.out.printf System.out System System.out "%d\n" (int)(init) String args[] args
import java.io.BufferedReader;
import java.io.InputStreamReader;
class Main{
    public static void main(String args[]){
	try{
	    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
	    String str = br.readLine();
	    int n = Integer.parseInt(str);
	    double init = 100000;
	    for(int i=0;i<n;i++){
		init = init * 1.05;
		if((init / 1000) % 1 > 0){
		    init = (init/1000 - ((init / 1000) % 1) + 1)*1000;
		}
	    }
	    System.out.printf("%d\n",(int)(init));
	}
	catch(Exception e){
	    System.exit(0);
	}
    }
}