import java.io.*;
class Main{
    public static void main(String[] args)throws IOException{
	BufferedReader br=
	    new BufferedReader(new InputStreamReader(System.in));
	String buf;
	buf=br.readLine();
	int n=Integer.parseInt(buf);
	int money=100000;
	for(int i=1;i<=n;i++){
	    money*=1.05;
	    if(money%1000>0){
		money/=1000;
		money++;
	    }else{
		money/=1000;
	    }
	    money*=1000;
	}
	System.out.println(money);
    }
} import java.io.*; io.* java class Main{
    public static void main(String[] args)throws IOException{
	BufferedReader br=
	    new BufferedReader(new InputStreamReader(System.in));
	String buf;
	buf=br.readLine();
	int n=Integer.parseInt(buf);
	int money=100000;
	for(int i=1;i<=n;i++){
	    money*=1.05;
	    if(money%1000>0){
		money/=1000;
		money++;
	    }else{
		money/=1000;
	    }
	    money*=1000;
	}
	System.out.println(money);
    }
} Main public static void main(String[] args)throws IOException{
	BufferedReader br=
	    new BufferedReader(new InputStreamReader(System.in));
	String buf;
	buf=br.readLine();
	int n=Integer.parseInt(buf);
	int money=100000;
	for(int i=1;i<=n;i++){
	    money*=1.05;
	    if(money%1000>0){
		money/=1000;
		money++;
	    }else{
		money/=1000;
	    }
	    money*=1000;
	}
	System.out.println(money);
    } main {
	BufferedReader br=
	    new BufferedReader(new InputStreamReader(System.in));
	String buf;
	buf=br.readLine();
	int n=Integer.parseInt(buf);
	int money=100000;
	for(int i=1;i<=n;i++){
	    money*=1.05;
	    if(money%1000>0){
		money/=1000;
		money++;
	    }else{
		money/=1000;
	    }
	    money*=1000;
	}
	System.out.println(money);
    } BufferedReader br=
	    new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) String buf; buf buf=br.readLine() buf br.readLine() br.readLine br int n=Integer.parseInt(buf); n Integer.parseInt(buf) Integer.parseInt Integer buf int money=100000; money 100000 for(int i=1;i<=n;i++){
	    money*=1.05;
	    if(money%1000>0){
		money/=1000;
		money++;
	    }else{
		money/=1000;
	    }
	    money*=1000;
	} int i=1; int i=1; i 1 i<=n i n i++ i++ i {
	    money*=1.05;
	    if(money%1000>0){
		money/=1000;
		money++;
	    }else{
		money/=1000;
	    }
	    money*=1000;
	} {
	    money*=1.05;
	    if(money%1000>0){
		money/=1000;
		money++;
	    }else{
		money/=1000;
	    }
	    money*=1000;
	} money*=1.05 money 1.05 if(money%1000>0){
		money/=1000;
		money++;
	    }else{
		money/=1000;
	    } money%1000>0 money%1000 money 1000 0 {
		money/=1000;
		money++;
	    } money/=1000 money 1000 money++ money {
		money/=1000;
	    } money/=1000 money 1000 money*=1000 money 1000 System.out.println(money) System.out.println System.out System System.out money String[] args args
import java.io.*;
class Main{
    public static void main(String[] args)throws IOException{
	BufferedReader br=
	    new BufferedReader(new InputStreamReader(System.in));
	String buf;
	buf=br.readLine();
	int n=Integer.parseInt(buf);
	int money=100000;
	for(int i=1;i<=n;i++){
	    money*=1.05;
	    if(money%1000>0){
		money/=1000;
		money++;
	    }else{
		money/=1000;
	    }
	    money*=1000;
	}
	System.out.println(money);
    }
}