import java.util.Scanner;

public class Main{
	static int debt(int n){
		int x = 100000;
		while( n > 0 ){
			x *= (1 + 0.05);
			if( x%1000 != 0 ){
				x = x - x%1000 + 1000;
			}
			n--;
		}
		return x;
	}

	public static void main(String[] args){
		Scanner stdIn = new Scanner(System.in);
		int n = stdIn.nextInt();

		System.out.println(debt(n));
	}
} import java.util.Scanner; Scanner java.util public class Main{
	static int debt(int n){
		int x = 100000;
		while( n > 0 ){
			x *= (1 + 0.05);
			if( x%1000 != 0 ){
				x = x - x%1000 + 1000;
			}
			n--;
		}
		return x;
	}

	public static void main(String[] args){
		Scanner stdIn = new Scanner(System.in);
		int n = stdIn.nextInt();

		System.out.println(debt(n));
	}
} Main static int debt(int n){
		int x = 100000;
		while( n > 0 ){
			x *= (1 + 0.05);
			if( x%1000 != 0 ){
				x = x - x%1000 + 1000;
			}
			n--;
		}
		return x;
	} debt {
		int x = 100000;
		while( n > 0 ){
			x *= (1 + 0.05);
			if( x%1000 != 0 ){
				x = x - x%1000 + 1000;
			}
			n--;
		}
		return x;
	} int x = 100000; x 100000 while( n > 0 ){
			x *= (1 + 0.05);
			if( x%1000 != 0 ){
				x = x - x%1000 + 1000;
			}
			n--;
		} n > 0 n 0 {
			x *= (1 + 0.05);
			if( x%1000 != 0 ){
				x = x - x%1000 + 1000;
			}
			n--;
		} x *= (1 + 0.05) x (1 + 0.05) 1 0.05 if( x%1000 != 0 ){
				x = x - x%1000 + 1000;
			} x%1000 != 0 x%1000 x 1000 0 {
				x = x - x%1000 + 1000;
			} x = x - x%1000 + 1000 x x - x%1000 + 1000 x - x%1000 x x%1000 x 1000 1000 n-- n return x; x int n n public static void main(String[] args){
		Scanner stdIn = new Scanner(System.in);
		int n = stdIn.nextInt();

		System.out.println(debt(n));
	} main {
		Scanner stdIn = new Scanner(System.in);
		int n = stdIn.nextInt();

		System.out.println(debt(n));
	} Scanner stdIn = new Scanner(System.in); stdIn new Scanner(System.in) int n = stdIn.nextInt(); n stdIn.nextInt() stdIn.nextInt stdIn System.out.println(debt(n)) System.out.println System.out System System.out debt(n) debt n String[] args args public class Main{
	static int debt(int n){
		int x = 100000;
		while( n > 0 ){
			x *= (1 + 0.05);
			if( x%1000 != 0 ){
				x = x - x%1000 + 1000;
			}
			n--;
		}
		return x;
	}

	public static void main(String[] args){
		Scanner stdIn = new Scanner(System.in);
		int n = stdIn.nextInt();

		System.out.println(debt(n));
	}
} public class Main{
	static int debt(int n){
		int x = 100000;
		while( n > 0 ){
			x *= (1 + 0.05);
			if( x%1000 != 0 ){
				x = x - x%1000 + 1000;
			}
			n--;
		}
		return x;
	}

	public static void main(String[] args){
		Scanner stdIn = new Scanner(System.in);
		int n = stdIn.nextInt();

		System.out.println(debt(n));
	}
} Main
import java.util.Scanner;

public class Main{
	static int debt(int n){
		int x = 100000;
		while( n > 0 ){
			x *= (1 + 0.05);
			if( x%1000 != 0 ){
				x = x - x%1000 + 1000;
			}
			n--;
		}
		return x;
	}

	public static void main(String[] args){
		Scanner stdIn = new Scanner(System.in);
		int n = stdIn.nextInt();

		System.out.println(debt(n));
	}
}