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


public class Main {
	public static void main(String[] args){
		InputStreamReader is = new InputStreamReader(System.in);
		BufferedReader br = new BufferedReader(is);

		int syakkin = 100000;
		int week = 0;

		try {
			week = Integer.parseInt(br.readLine());
		} catch (IOException e) {
			System.out.println("error");
		}
		for(int i=0;i < week ;i++){
			syakkin *= 1.05;
			if(syakkin % 1000 > 0){
				syakkin /= 1000;
				syakkin++;
				syakkin *= 1000;
			}
		}
		System.out.println(syakkin);
	}
} 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){
		InputStreamReader is = new InputStreamReader(System.in);
		BufferedReader br = new BufferedReader(is);

		int syakkin = 100000;
		int week = 0;

		try {
			week = Integer.parseInt(br.readLine());
		} catch (IOException e) {
			System.out.println("error");
		}
		for(int i=0;i < week ;i++){
			syakkin *= 1.05;
			if(syakkin % 1000 > 0){
				syakkin /= 1000;
				syakkin++;
				syakkin *= 1000;
			}
		}
		System.out.println(syakkin);
	}
} Main public static void main(String[] args){
		InputStreamReader is = new InputStreamReader(System.in);
		BufferedReader br = new BufferedReader(is);

		int syakkin = 100000;
		int week = 0;

		try {
			week = Integer.parseInt(br.readLine());
		} catch (IOException e) {
			System.out.println("error");
		}
		for(int i=0;i < week ;i++){
			syakkin *= 1.05;
			if(syakkin % 1000 > 0){
				syakkin /= 1000;
				syakkin++;
				syakkin *= 1000;
			}
		}
		System.out.println(syakkin);
	} main {
		InputStreamReader is = new InputStreamReader(System.in);
		BufferedReader br = new BufferedReader(is);

		int syakkin = 100000;
		int week = 0;

		try {
			week = Integer.parseInt(br.readLine());
		} catch (IOException e) {
			System.out.println("error");
		}
		for(int i=0;i < week ;i++){
			syakkin *= 1.05;
			if(syakkin % 1000 > 0){
				syakkin /= 1000;
				syakkin++;
				syakkin *= 1000;
			}
		}
		System.out.println(syakkin);
	} InputStreamReader is = new InputStreamReader(System.in); is new InputStreamReader(System.in) BufferedReader br = new BufferedReader(is); br new BufferedReader(is) int syakkin = 100000; syakkin 100000 int week = 0; week 0 try {
			week = Integer.parseInt(br.readLine());
		} catch (IOException e) {
			System.out.println("error");
		} catch (IOException e) {
			System.out.println("error");
		} IOException e {
			System.out.println("error");
		} System.out.println("error") System.out.println System.out System System.out "error" {
			week = Integer.parseInt(br.readLine());
		} week = Integer.parseInt(br.readLine()) week Integer.parseInt(br.readLine()) Integer.parseInt Integer br.readLine() br.readLine br for(int i=0;i < week ;i++){
			syakkin *= 1.05;
			if(syakkin % 1000 > 0){
				syakkin /= 1000;
				syakkin++;
				syakkin *= 1000;
			}
		} int i=0; int i=0; i 0 i < week i week i++ i++ i {
			syakkin *= 1.05;
			if(syakkin % 1000 > 0){
				syakkin /= 1000;
				syakkin++;
				syakkin *= 1000;
			}
		} {
			syakkin *= 1.05;
			if(syakkin % 1000 > 0){
				syakkin /= 1000;
				syakkin++;
				syakkin *= 1000;
			}
		} syakkin *= 1.05 syakkin 1.05 if(syakkin % 1000 > 0){
				syakkin /= 1000;
				syakkin++;
				syakkin *= 1000;
			} syakkin % 1000 > 0 syakkin % 1000 syakkin 1000 0 {
				syakkin /= 1000;
				syakkin++;
				syakkin *= 1000;
			} syakkin /= 1000 syakkin 1000 syakkin++ syakkin syakkin *= 1000 syakkin 1000 System.out.println(syakkin) System.out.println System.out System System.out syakkin String[] args args public class Main {
	public static void main(String[] args){
		InputStreamReader is = new InputStreamReader(System.in);
		BufferedReader br = new BufferedReader(is);

		int syakkin = 100000;
		int week = 0;

		try {
			week = Integer.parseInt(br.readLine());
		} catch (IOException e) {
			System.out.println("error");
		}
		for(int i=0;i < week ;i++){
			syakkin *= 1.05;
			if(syakkin % 1000 > 0){
				syakkin /= 1000;
				syakkin++;
				syakkin *= 1000;
			}
		}
		System.out.println(syakkin);
	}
} public class Main {
	public static void main(String[] args){
		InputStreamReader is = new InputStreamReader(System.in);
		BufferedReader br = new BufferedReader(is);

		int syakkin = 100000;
		int week = 0;

		try {
			week = Integer.parseInt(br.readLine());
		} catch (IOException e) {
			System.out.println("error");
		}
		for(int i=0;i < week ;i++){
			syakkin *= 1.05;
			if(syakkin % 1000 > 0){
				syakkin /= 1000;
				syakkin++;
				syakkin *= 1000;
			}
		}
		System.out.println(syakkin);
	}
} Main
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;


public class Main {
	public static void main(String[] args){
		InputStreamReader is = new InputStreamReader(System.in);
		BufferedReader br = new BufferedReader(is);

		int syakkin = 100000;
		int week = 0;

		try {
			week = Integer.parseInt(br.readLine());
		} catch (IOException e) {
			System.out.println("error");
		}
		for(int i=0;i < week ;i++){
			syakkin *= 1.05;
			if(syakkin % 1000 > 0){
				syakkin /= 1000;
				syakkin++;
				syakkin *= 1000;
			}
		}
		System.out.println(syakkin);
	}
}