import java.util.Scanner;

public class Main {

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

	public static void main(String[] args) {
		Scanner stdIn = new Scanner(System.in);
		int a = 100000;
		int n = stdIn.nextInt();
		for (int i = 0; i < n; i++) {
			a *= 1.05;
			if(a%1000!=0){a+=1000-a%1000;}
		}
		System.out.println(a);
	}
} Main public static void main(String[] args) {
		Scanner stdIn = new Scanner(System.in);
		int a = 100000;
		int n = stdIn.nextInt();
		for (int i = 0; i < n; i++) {
			a *= 1.05;
			if(a%1000!=0){a+=1000-a%1000;}
		}
		System.out.println(a);
	} main {
		Scanner stdIn = new Scanner(System.in);
		int a = 100000;
		int n = stdIn.nextInt();
		for (int i = 0; i < n; i++) {
			a *= 1.05;
			if(a%1000!=0){a+=1000-a%1000;}
		}
		System.out.println(a);
	} Scanner stdIn = new Scanner(System.in); stdIn new Scanner(System.in) int a = 100000; a 100000 int n = stdIn.nextInt(); n stdIn.nextInt() stdIn.nextInt stdIn for (int i = 0; i < n; i++) {
			a *= 1.05;
			if(a%1000!=0){a+=1000-a%1000;}
		} int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
			a *= 1.05;
			if(a%1000!=0){a+=1000-a%1000;}
		} {
			a *= 1.05;
			if(a%1000!=0){a+=1000-a%1000;}
		} a *= 1.05 a 1.05 if(a%1000!=0){a+=1000-a%1000;} a%1000!=0 a%1000 a 1000 0 {a+=1000-a%1000;} a+=1000-a%1000 a 1000-a%1000 1000 a%1000 a 1000 System.out.println(a) System.out.println System.out System System.out a String[] args args public class Main {

	public static void main(String[] args) {
		Scanner stdIn = new Scanner(System.in);
		int a = 100000;
		int n = stdIn.nextInt();
		for (int i = 0; i < n; i++) {
			a *= 1.05;
			if(a%1000!=0){a+=1000-a%1000;}
		}
		System.out.println(a);
	}
} public class Main {

	public static void main(String[] args) {
		Scanner stdIn = new Scanner(System.in);
		int a = 100000;
		int n = stdIn.nextInt();
		for (int i = 0; i < n; i++) {
			a *= 1.05;
			if(a%1000!=0){a+=1000-a%1000;}
		}
		System.out.println(a);
	}
} Main
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner stdIn = new Scanner(System.in);
		int a = 100000;
		int n = stdIn.nextInt();
		for (int i = 0; i < n; i++) {
			a *= 1.05;
			if(a%1000!=0){a+=1000-a%1000;}
		}
		System.out.println(a);
	}
}