import java.text.DecimalFormat;
import java.util.*;
public class Main {

	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		int n = scan.nextInt();
		DecimalFormat df = new DecimalFormat("0");
		double debt = 100000;
		for(int i=0;i<n;i++){
			debt = debt + (debt * 0.05);
			if(debt % 1000 != 0){
				debt = (debt / 1000 + 1) * 1000;
				debt = debt - debt % 1000;
			}
		}
		System.out.println(df.format(debt));
	}

} import java.text.DecimalFormat; DecimalFormat java.text import java.util.*; util.* java public class Main {

	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		int n = scan.nextInt();
		DecimalFormat df = new DecimalFormat("0");
		double debt = 100000;
		for(int i=0;i<n;i++){
			debt = debt + (debt * 0.05);
			if(debt % 1000 != 0){
				debt = (debt / 1000 + 1) * 1000;
				debt = debt - debt % 1000;
			}
		}
		System.out.println(df.format(debt));
	}

} Main public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		int n = scan.nextInt();
		DecimalFormat df = new DecimalFormat("0");
		double debt = 100000;
		for(int i=0;i<n;i++){
			debt = debt + (debt * 0.05);
			if(debt % 1000 != 0){
				debt = (debt / 1000 + 1) * 1000;
				debt = debt - debt % 1000;
			}
		}
		System.out.println(df.format(debt));
	} main {
		Scanner scan = new Scanner(System.in);
		int n = scan.nextInt();
		DecimalFormat df = new DecimalFormat("0");
		double debt = 100000;
		for(int i=0;i<n;i++){
			debt = debt + (debt * 0.05);
			if(debt % 1000 != 0){
				debt = (debt / 1000 + 1) * 1000;
				debt = debt - debt % 1000;
			}
		}
		System.out.println(df.format(debt));
	} Scanner scan = new Scanner(System.in); scan new Scanner(System.in) int n = scan.nextInt(); n scan.nextInt() scan.nextInt scan DecimalFormat df = new DecimalFormat("0"); df new DecimalFormat("0") double debt = 100000; debt 100000 for(int i=0;i<n;i++){
			debt = debt + (debt * 0.05);
			if(debt % 1000 != 0){
				debt = (debt / 1000 + 1) * 1000;
				debt = debt - debt % 1000;
			}
		} int i=0; int i=0; i 0 i<n i n i++ i++ i {
			debt = debt + (debt * 0.05);
			if(debt % 1000 != 0){
				debt = (debt / 1000 + 1) * 1000;
				debt = debt - debt % 1000;
			}
		} {
			debt = debt + (debt * 0.05);
			if(debt % 1000 != 0){
				debt = (debt / 1000 + 1) * 1000;
				debt = debt - debt % 1000;
			}
		} debt = debt + (debt * 0.05) debt debt + (debt * 0.05) debt (debt * 0.05) debt 0.05 if(debt % 1000 != 0){
				debt = (debt / 1000 + 1) * 1000;
				debt = debt - debt % 1000;
			} debt % 1000 != 0 debt % 1000 debt 1000 0 {
				debt = (debt / 1000 + 1) * 1000;
				debt = debt - debt % 1000;
			} debt = (debt / 1000 + 1) * 1000 debt (debt / 1000 + 1) * 1000 (debt / 1000 + 1) debt / 1000 debt 1000 1 1000 debt = debt - debt % 1000 debt debt - debt % 1000 debt debt % 1000 debt 1000 System.out.println(df.format(debt)) System.out.println System.out System System.out df.format(debt) df.format df debt String[] args args public class Main {

	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		int n = scan.nextInt();
		DecimalFormat df = new DecimalFormat("0");
		double debt = 100000;
		for(int i=0;i<n;i++){
			debt = debt + (debt * 0.05);
			if(debt % 1000 != 0){
				debt = (debt / 1000 + 1) * 1000;
				debt = debt - debt % 1000;
			}
		}
		System.out.println(df.format(debt));
	}

} public class Main {

	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		int n = scan.nextInt();
		DecimalFormat df = new DecimalFormat("0");
		double debt = 100000;
		for(int i=0;i<n;i++){
			debt = debt + (debt * 0.05);
			if(debt % 1000 != 0){
				debt = (debt / 1000 + 1) * 1000;
				debt = debt - debt % 1000;
			}
		}
		System.out.println(df.format(debt));
	}

} Main
import java.text.DecimalFormat;
import java.util.*;
public class Main {

	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		int n = scan.nextInt();
		DecimalFormat df = new DecimalFormat("0");
		double debt = 100000;
		for(int i=0;i<n;i++){
			debt = debt + (debt * 0.05);
			if(debt % 1000 != 0){
				debt = (debt / 1000 + 1) * 1000;
				debt = debt - debt % 1000;
			}
		}
		System.out.println(df.format(debt));
	}

}