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;
		while(n != 0){
			mon *= 1.05;
			n--;
			if(mon % 1000 != 0){
				mon += 1000;
				mon -= mon % 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;
		while(n != 0){
			mon *= 1.05;
			n--;
			if(mon % 1000 != 0){
				mon += 1000;
				mon -= mon % 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;
		while(n != 0){
			mon *= 1.05;
			n--;
			if(mon % 1000 != 0){
				mon += 1000;
				mon -= mon % 1000;
			}
		}
		System.out.printf("%d\n", mon);
	} main {
		int n = scan.nextInt();
		long mon = 100_000;
		while(n != 0){
			mon *= 1.05;
			n--;
			if(mon % 1000 != 0){
				mon += 1000;
				mon -= mon % 1000;
			}
		}
		System.out.printf("%d\n", mon);
	} int n = scan.nextInt(); n scan.nextInt() scan.nextInt scan long mon = 100_000; mon 100_000 while(n != 0){
			mon *= 1.05;
			n--;
			if(mon % 1000 != 0){
				mon += 1000;
				mon -= mon % 1000;
			}
		} n != 0 n 0 {
			mon *= 1.05;
			n--;
			if(mon % 1000 != 0){
				mon += 1000;
				mon -= mon % 1000;
			}
		} mon *= 1.05 mon 1.05 n-- n if(mon % 1000 != 0){
				mon += 1000;
				mon -= mon % 1000;
			} mon % 1000 != 0 mon % 1000 mon 1000 0 {
				mon += 1000;
				mon -= mon % 1000;
			} mon += 1000 mon 1000 mon -= mon % 1000 mon mon % 1000 mon 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;
		while(n != 0){
			mon *= 1.05;
			n--;
			if(mon % 1000 != 0){
				mon += 1000;
				mon -= mon % 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;
		while(n != 0){
			mon *= 1.05;
			n--;
			if(mon % 1000 != 0){
				mon += 1000;
				mon -= mon % 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;
		while(n != 0){
			mon *= 1.05;
			n--;
			if(mon % 1000 != 0){
				mon += 1000;
				mon -= mon % 1000;
			}
		}
		System.out.printf("%d\n", mon);
	}
}