import java.util.*;

public class Main{
	private static final Scanner scan = new Scanner(System.in);

	public static void main(String[] args){
		int n = scan.nextInt();
		long mon = 100_000;
		for(int i = 0; i < n; i++){
			mon = (long) Math.ceil(mon * 1.05 / 1000.0) * 1000;
		}
		System.out.printf("%d\n", mon);
	}
} import java.util.*; util.* java public class Main{
	private static final Scanner scan = new Scanner(System.in);

	public static void main(String[] args){
		int n = scan.nextInt();
		long mon = 100_000;
		for(int i = 0; i < n; i++){
			mon = (long) Math.ceil(mon * 1.05 / 1000.0) * 1000;
		}
		System.out.printf("%d\n", mon);
	}
} Main private static final Scanner scan = new Scanner(System.in); scan new Scanner(System.in) public static void main(String[] args){
		int n = scan.nextInt();
		long mon = 100_000;
		for(int i = 0; i < n; i++){
			mon = (long) Math.ceil(mon * 1.05 / 1000.0) * 1000;
		}
		System.out.printf("%d\n", mon);
	} main {
		int n = scan.nextInt();
		long mon = 100_000;
		for(int i = 0; i < n; i++){
			mon = (long) Math.ceil(mon * 1.05 / 1000.0) * 1000;
		}
		System.out.printf("%d\n", mon);
	} int n = scan.nextInt(); n scan.nextInt() scan.nextInt scan long mon = 100_000; mon 100_000 for(int i = 0; i < n; i++){
			mon = (long) Math.ceil(mon * 1.05 / 1000.0) * 1000;
		} int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
			mon = (long) Math.ceil(mon * 1.05 / 1000.0) * 1000;
		} {
			mon = (long) Math.ceil(mon * 1.05 / 1000.0) * 1000;
		} mon = (long) Math.ceil(mon * 1.05 / 1000.0) * 1000 mon (long) Math.ceil(mon * 1.05 / 1000.0) * 1000 (long) Math.ceil(mon * 1.05 / 1000.0) Math.ceil Math mon * 1.05 / 1000.0 mon * 1.05 mon 1.05 1000.0 1000 System.out.printf("%d\n", mon) System.out.printf System.out System System.out "%d\n" mon String[] args args public class Main{
	private static final Scanner scan = new Scanner(System.in);

	public static void main(String[] args){
		int n = scan.nextInt();
		long mon = 100_000;
		for(int i = 0; i < n; i++){
			mon = (long) Math.ceil(mon * 1.05 / 1000.0) * 1000;
		}
		System.out.printf("%d\n", mon);
	}
} public class Main{
	private static final Scanner scan = new Scanner(System.in);

	public static void main(String[] args){
		int n = scan.nextInt();
		long mon = 100_000;
		for(int i = 0; i < n; i++){
			mon = (long) Math.ceil(mon * 1.05 / 1000.0) * 1000;
		}
		System.out.printf("%d\n", mon);
	}
} Main
import java.util.*;

public class Main{
	private static final Scanner scan = new Scanner(System.in);

	public static void main(String[] args){
		int n = scan.nextInt();
		long mon = 100_000;
		for(int i = 0; i < n; i++){
			mon = (long) Math.ceil(mon * 1.05 / 1000.0) * 1000;
		}
		System.out.printf("%d\n", mon);
	}
}