import java.io.PrintWriter;
import java.util.*;

import static java.lang.Math.*;

public class Main{
	public static void main(String args[]){
		Scanner sc = new Scanner(System.in); 
		PrintWriter out=new PrintWriter(System.out);
		double money = 100000;
		final double tax = 1.05;
		int n= sc.nextInt();
		for(int i=0;i<n;i++){
			money*=tax;
			money/=1000;
			money=ceil(money);
			money*=1000;
		}
		out.println((int)money);
		out.flush();
	}

}


	 import java.io.PrintWriter; PrintWriter java.io import java.util.*; util.* java import static java.lang.Math.*; import static java.lang.Math.*; import static java.lang.Math.*; public class Main{
	public static void main(String args[]){
		Scanner sc = new Scanner(System.in); 
		PrintWriter out=new PrintWriter(System.out);
		double money = 100000;
		final double tax = 1.05;
		int n= sc.nextInt();
		for(int i=0;i<n;i++){
			money*=tax;
			money/=1000;
			money=ceil(money);
			money*=1000;
		}
		out.println((int)money);
		out.flush();
	}

} Main public static void main(String args[]){
		Scanner sc = new Scanner(System.in); 
		PrintWriter out=new PrintWriter(System.out);
		double money = 100000;
		final double tax = 1.05;
		int n= sc.nextInt();
		for(int i=0;i<n;i++){
			money*=tax;
			money/=1000;
			money=ceil(money);
			money*=1000;
		}
		out.println((int)money);
		out.flush();
	} main {
		Scanner sc = new Scanner(System.in); 
		PrintWriter out=new PrintWriter(System.out);
		double money = 100000;
		final double tax = 1.05;
		int n= sc.nextInt();
		for(int i=0;i<n;i++){
			money*=tax;
			money/=1000;
			money=ceil(money);
			money*=1000;
		}
		out.println((int)money);
		out.flush();
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) PrintWriter out=new PrintWriter(System.out); out new PrintWriter(System.out) double money = 100000; money 100000 final double tax = 1.05; tax 1.05 int n= sc.nextInt(); n sc.nextInt() sc.nextInt sc for(int i=0;i<n;i++){
			money*=tax;
			money/=1000;
			money=ceil(money);
			money*=1000;
		} int i=0; int i=0; i 0 i<n i n i++ i++ i {
			money*=tax;
			money/=1000;
			money=ceil(money);
			money*=1000;
		} {
			money*=tax;
			money/=1000;
			money=ceil(money);
			money*=1000;
		} money*=tax money tax money/=1000 money 1000 money=ceil(money) money ceil(money) ceil money money*=1000 money 1000 out.println((int)money) out.println out (int)money out.flush() out.flush out String args[] args public class Main{
	public static void main(String args[]){
		Scanner sc = new Scanner(System.in); 
		PrintWriter out=new PrintWriter(System.out);
		double money = 100000;
		final double tax = 1.05;
		int n= sc.nextInt();
		for(int i=0;i<n;i++){
			money*=tax;
			money/=1000;
			money=ceil(money);
			money*=1000;
		}
		out.println((int)money);
		out.flush();
	}

} public class Main{
	public static void main(String args[]){
		Scanner sc = new Scanner(System.in); 
		PrintWriter out=new PrintWriter(System.out);
		double money = 100000;
		final double tax = 1.05;
		int n= sc.nextInt();
		for(int i=0;i<n;i++){
			money*=tax;
			money/=1000;
			money=ceil(money);
			money*=1000;
		}
		out.println((int)money);
		out.flush();
	}

} Main
import java.io.PrintWriter;
import java.util.*;

import static java.lang.Math.*;

public class Main{
	public static void main(String args[]){
		Scanner sc = new Scanner(System.in); 
		PrintWriter out=new PrintWriter(System.out);
		double money = 100000;
		final double tax = 1.05;
		int n= sc.nextInt();
		for(int i=0;i<n;i++){
			money*=tax;
			money/=1000;
			money=ceil(money);
			money*=1000;
		}
		out.println((int)money);
		out.flush();
	}

}


	