import java.util.*;
public class Main {
	public static void main(String args[]){
		Scanner s=new Scanner(System.in);
		int N=s.nextInt();
		int Debt=100000;
		for(int i=0;i<N;i++){
			Debt=Debt*105/100;
			if(Debt%1000!=0)Debt=Debt+1000-Debt%1000;
		}
		System.out.println(Debt);
	}
} import java.util.*; util.* java public class Main {
	public static void main(String args[]){
		Scanner s=new Scanner(System.in);
		int N=s.nextInt();
		int Debt=100000;
		for(int i=0;i<N;i++){
			Debt=Debt*105/100;
			if(Debt%1000!=0)Debt=Debt+1000-Debt%1000;
		}
		System.out.println(Debt);
	}
} Main public static void main(String args[]){
		Scanner s=new Scanner(System.in);
		int N=s.nextInt();
		int Debt=100000;
		for(int i=0;i<N;i++){
			Debt=Debt*105/100;
			if(Debt%1000!=0)Debt=Debt+1000-Debt%1000;
		}
		System.out.println(Debt);
	} main {
		Scanner s=new Scanner(System.in);
		int N=s.nextInt();
		int Debt=100000;
		for(int i=0;i<N;i++){
			Debt=Debt*105/100;
			if(Debt%1000!=0)Debt=Debt+1000-Debt%1000;
		}
		System.out.println(Debt);
	} Scanner s=new Scanner(System.in); s new Scanner(System.in) int N=s.nextInt(); N s.nextInt() s.nextInt s int Debt=100000; Debt 100000 for(int i=0;i<N;i++){
			Debt=Debt*105/100;
			if(Debt%1000!=0)Debt=Debt+1000-Debt%1000;
		} int i=0; int i=0; i 0 i<N i N i++ i++ i {
			Debt=Debt*105/100;
			if(Debt%1000!=0)Debt=Debt+1000-Debt%1000;
		} {
			Debt=Debt*105/100;
			if(Debt%1000!=0)Debt=Debt+1000-Debt%1000;
		} Debt=Debt*105/100 Debt Debt*105/100 Debt*105 Debt 105 100 if(Debt%1000!=0)Debt=Debt+1000-Debt%1000; Debt%1000!=0 Debt%1000 Debt 1000 0 Debt=Debt+1000-Debt%1000 Debt Debt+1000-Debt%1000 Debt+1000 Debt 1000 Debt%1000 Debt 1000 System.out.println(Debt) System.out.println System.out System System.out Debt String args[] args public class Main {
	public static void main(String args[]){
		Scanner s=new Scanner(System.in);
		int N=s.nextInt();
		int Debt=100000;
		for(int i=0;i<N;i++){
			Debt=Debt*105/100;
			if(Debt%1000!=0)Debt=Debt+1000-Debt%1000;
		}
		System.out.println(Debt);
	}
} public class Main {
	public static void main(String args[]){
		Scanner s=new Scanner(System.in);
		int N=s.nextInt();
		int Debt=100000;
		for(int i=0;i<N;i++){
			Debt=Debt*105/100;
			if(Debt%1000!=0)Debt=Debt+1000-Debt%1000;
		}
		System.out.println(Debt);
	}
} Main
import java.util.*;
public class Main {
	public static void main(String args[]){
		Scanner s=new Scanner(System.in);
		int N=s.nextInt();
		int Debt=100000;
		for(int i=0;i<N;i++){
			Debt=Debt*105/100;
			if(Debt%1000!=0)Debt=Debt+1000-Debt%1000;
		}
		System.out.println(Debt);
	}
}