import java.util.Scanner;

class Main{
    public static void main(String[] args){
	final Scanner sc=new Scanner(System.in);
	int syakkin=100000;
	int n=sc.nextInt();
	for(int i=0;i<n;i++){
	    syakkin*=1.05;
	    if(syakkin%1000!=0){
		syakkin=((syakkin/1000)+1)*1000;
	    }
	}
	System.out.println(syakkin);
    }
} import java.util.Scanner; Scanner java.util class Main{
    public static void main(String[] args){
	final Scanner sc=new Scanner(System.in);
	int syakkin=100000;
	int n=sc.nextInt();
	for(int i=0;i<n;i++){
	    syakkin*=1.05;
	    if(syakkin%1000!=0){
		syakkin=((syakkin/1000)+1)*1000;
	    }
	}
	System.out.println(syakkin);
    }
} Main public static void main(String[] args){
	final Scanner sc=new Scanner(System.in);
	int syakkin=100000;
	int n=sc.nextInt();
	for(int i=0;i<n;i++){
	    syakkin*=1.05;
	    if(syakkin%1000!=0){
		syakkin=((syakkin/1000)+1)*1000;
	    }
	}
	System.out.println(syakkin);
    } main {
	final Scanner sc=new Scanner(System.in);
	int syakkin=100000;
	int n=sc.nextInt();
	for(int i=0;i<n;i++){
	    syakkin*=1.05;
	    if(syakkin%1000!=0){
		syakkin=((syakkin/1000)+1)*1000;
	    }
	}
	System.out.println(syakkin);
    } final Scanner sc=new Scanner(System.in); sc new Scanner(System.in) int syakkin=100000; syakkin 100000 int n=sc.nextInt(); n sc.nextInt() sc.nextInt sc for(int i=0;i<n;i++){
	    syakkin*=1.05;
	    if(syakkin%1000!=0){
		syakkin=((syakkin/1000)+1)*1000;
	    }
	} int i=0; int i=0; i 0 i<n i n i++ i++ i {
	    syakkin*=1.05;
	    if(syakkin%1000!=0){
		syakkin=((syakkin/1000)+1)*1000;
	    }
	} {
	    syakkin*=1.05;
	    if(syakkin%1000!=0){
		syakkin=((syakkin/1000)+1)*1000;
	    }
	} syakkin*=1.05 syakkin 1.05 if(syakkin%1000!=0){
		syakkin=((syakkin/1000)+1)*1000;
	    } syakkin%1000!=0 syakkin%1000 syakkin 1000 0 {
		syakkin=((syakkin/1000)+1)*1000;
	    } syakkin=((syakkin/1000)+1)*1000 syakkin ((syakkin/1000)+1)*1000 ((syakkin/1000)+1) (syakkin/1000) syakkin 1000 1 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){
	final Scanner sc=new Scanner(System.in);
	int syakkin=100000;
	int n=sc.nextInt();
	for(int i=0;i<n;i++){
	    syakkin*=1.05;
	    if(syakkin%1000!=0){
		syakkin=((syakkin/1000)+1)*1000;
	    }
	}
	System.out.println(syakkin);
    }
}