import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class Main {
	public static void main(String[] args) throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String str = br.readLine();
		int weeks = Integer.parseInt(str);
		long debtRound = 100000;
		for (int i = 1; i <= weeks; i++) {
			long debt = (long) (debtRound * 1.05);
			debtRound = (long) Math.ceil((double) debt / 1000) * 1000;
		}
		System.out.println(debtRound);
	}
} import java.io.BufferedReader; BufferedReader java.io import java.io.IOException; IOException java.io import java.io.InputStreamReader; InputStreamReader java.io public class Main {
	public static void main(String[] args) throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String str = br.readLine();
		int weeks = Integer.parseInt(str);
		long debtRound = 100000;
		for (int i = 1; i <= weeks; i++) {
			long debt = (long) (debtRound * 1.05);
			debtRound = (long) Math.ceil((double) debt / 1000) * 1000;
		}
		System.out.println(debtRound);
	}
} Main public static void main(String[] args) throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String str = br.readLine();
		int weeks = Integer.parseInt(str);
		long debtRound = 100000;
		for (int i = 1; i <= weeks; i++) {
			long debt = (long) (debtRound * 1.05);
			debtRound = (long) Math.ceil((double) debt / 1000) * 1000;
		}
		System.out.println(debtRound);
	} main {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String str = br.readLine();
		int weeks = Integer.parseInt(str);
		long debtRound = 100000;
		for (int i = 1; i <= weeks; i++) {
			long debt = (long) (debtRound * 1.05);
			debtRound = (long) Math.ceil((double) debt / 1000) * 1000;
		}
		System.out.println(debtRound);
	} BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) String str = br.readLine(); str br.readLine() br.readLine br int weeks = Integer.parseInt(str); weeks Integer.parseInt(str) Integer.parseInt Integer str long debtRound = 100000; debtRound 100000 for (int i = 1; i <= weeks; i++) {
			long debt = (long) (debtRound * 1.05);
			debtRound = (long) Math.ceil((double) debt / 1000) * 1000;
		} int i = 1; int i = 1; i 1 i <= weeks i weeks i++ i++ i {
			long debt = (long) (debtRound * 1.05);
			debtRound = (long) Math.ceil((double) debt / 1000) * 1000;
		} {
			long debt = (long) (debtRound * 1.05);
			debtRound = (long) Math.ceil((double) debt / 1000) * 1000;
		} long debt = (long) (debtRound * 1.05); debt (long) (debtRound * 1.05) debtRound 1.05 debtRound = (long) Math.ceil((double) debt / 1000) * 1000 debtRound (long) Math.ceil((double) debt / 1000) * 1000 (long) Math.ceil((double) debt / 1000) Math.ceil Math (double) debt / 1000 (double) debt 1000 1000 System.out.println(debtRound) System.out.println System.out System System.out debtRound String[] args args public class Main {
	public static void main(String[] args) throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String str = br.readLine();
		int weeks = Integer.parseInt(str);
		long debtRound = 100000;
		for (int i = 1; i <= weeks; i++) {
			long debt = (long) (debtRound * 1.05);
			debtRound = (long) Math.ceil((double) debt / 1000) * 1000;
		}
		System.out.println(debtRound);
	}
} public class Main {
	public static void main(String[] args) throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String str = br.readLine();
		int weeks = Integer.parseInt(str);
		long debtRound = 100000;
		for (int i = 1; i <= weeks; i++) {
			long debt = (long) (debtRound * 1.05);
			debtRound = (long) Math.ceil((double) debt / 1000) * 1000;
		}
		System.out.println(debtRound);
	}
} Main
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class Main {
	public static void main(String[] args) throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String str = br.readLine();
		int weeks = Integer.parseInt(str);
		long debtRound = 100000;
		for (int i = 1; i <= weeks; i++) {
			long debt = (long) (debtRound * 1.05);
			debtRound = (long) Math.ceil((double) debt / 1000) * 1000;
		}
		System.out.println(debtRound);
	}
}