import java.io.*;
public class Main {

	public static void main(String[] args) throws IOException{
		InputStreamReader is = new InputStreamReader(System.in);
		BufferedReader br = new BufferedReader(is);
		
		String str = br.readLine();
		int n = Integer.parseInt(str);
		double debt = 100.0; 
		for(int i = 0; i < n; i++){
			debt = debt * 1.05;
			int deb = (int)debt;
			double pre = debt;
			pre  = pre - (double)deb;
			if(pre != 0.0)
				deb++;
			debt = (double)deb;
		}
		
		
		int deb = (int)debt;
		deb *= 1000;
		System.out.println(deb);		
		
	}

} import java.io.*; io.* java public class Main {

	public static void main(String[] args) throws IOException{
		InputStreamReader is = new InputStreamReader(System.in);
		BufferedReader br = new BufferedReader(is);
		
		String str = br.readLine();
		int n = Integer.parseInt(str);
		double debt = 100.0; 
		for(int i = 0; i < n; i++){
			debt = debt * 1.05;
			int deb = (int)debt;
			double pre = debt;
			pre  = pre - (double)deb;
			if(pre != 0.0)
				deb++;
			debt = (double)deb;
		}
		
		
		int deb = (int)debt;
		deb *= 1000;
		System.out.println(deb);		
		
	}

} Main public static void main(String[] args) throws IOException{
		InputStreamReader is = new InputStreamReader(System.in);
		BufferedReader br = new BufferedReader(is);
		
		String str = br.readLine();
		int n = Integer.parseInt(str);
		double debt = 100.0; 
		for(int i = 0; i < n; i++){
			debt = debt * 1.05;
			int deb = (int)debt;
			double pre = debt;
			pre  = pre - (double)deb;
			if(pre != 0.0)
				deb++;
			debt = (double)deb;
		}
		
		
		int deb = (int)debt;
		deb *= 1000;
		System.out.println(deb);		
		
	} main {
		InputStreamReader is = new InputStreamReader(System.in);
		BufferedReader br = new BufferedReader(is);
		
		String str = br.readLine();
		int n = Integer.parseInt(str);
		double debt = 100.0; 
		for(int i = 0; i < n; i++){
			debt = debt * 1.05;
			int deb = (int)debt;
			double pre = debt;
			pre  = pre - (double)deb;
			if(pre != 0.0)
				deb++;
			debt = (double)deb;
		}
		
		
		int deb = (int)debt;
		deb *= 1000;
		System.out.println(deb);		
		
	} InputStreamReader is = new InputStreamReader(System.in); is new InputStreamReader(System.in) BufferedReader br = new BufferedReader(is); br new BufferedReader(is) String str = br.readLine(); str br.readLine() br.readLine br int n = Integer.parseInt(str); n Integer.parseInt(str) Integer.parseInt Integer str double debt = 100.0; debt 100.0 for(int i = 0; i < n; i++){
			debt = debt * 1.05;
			int deb = (int)debt;
			double pre = debt;
			pre  = pre - (double)deb;
			if(pre != 0.0)
				deb++;
			debt = (double)deb;
		} int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
			debt = debt * 1.05;
			int deb = (int)debt;
			double pre = debt;
			pre  = pre - (double)deb;
			if(pre != 0.0)
				deb++;
			debt = (double)deb;
		} {
			debt = debt * 1.05;
			int deb = (int)debt;
			double pre = debt;
			pre  = pre - (double)deb;
			if(pre != 0.0)
				deb++;
			debt = (double)deb;
		} debt = debt * 1.05 debt debt * 1.05 debt 1.05 int deb = (int)debt; deb (int)debt double pre = debt; pre debt pre  = pre - (double)deb pre pre - (double)deb pre (double)deb if(pre != 0.0)
				deb++; pre != 0.0 pre 0.0 deb++ deb debt = (double)deb debt (double)deb int deb = (int)debt; deb (int)debt deb *= 1000 deb 1000 System.out.println(deb) System.out.println System.out System System.out deb String[] args args public class Main {

	public static void main(String[] args) throws IOException{
		InputStreamReader is = new InputStreamReader(System.in);
		BufferedReader br = new BufferedReader(is);
		
		String str = br.readLine();
		int n = Integer.parseInt(str);
		double debt = 100.0; 
		for(int i = 0; i < n; i++){
			debt = debt * 1.05;
			int deb = (int)debt;
			double pre = debt;
			pre  = pre - (double)deb;
			if(pre != 0.0)
				deb++;
			debt = (double)deb;
		}
		
		
		int deb = (int)debt;
		deb *= 1000;
		System.out.println(deb);		
		
	}

} public class Main {

	public static void main(String[] args) throws IOException{
		InputStreamReader is = new InputStreamReader(System.in);
		BufferedReader br = new BufferedReader(is);
		
		String str = br.readLine();
		int n = Integer.parseInt(str);
		double debt = 100.0; 
		for(int i = 0; i < n; i++){
			debt = debt * 1.05;
			int deb = (int)debt;
			double pre = debt;
			pre  = pre - (double)deb;
			if(pre != 0.0)
				deb++;
			debt = (double)deb;
		}
		
		
		int deb = (int)debt;
		deb *= 1000;
		System.out.println(deb);		
		
	}

} Main
import java.io.*;
public class Main {

	public static void main(String[] args) throws IOException{
		InputStreamReader is = new InputStreamReader(System.in);
		BufferedReader br = new BufferedReader(is);
		
		String str = br.readLine();
		int n = Integer.parseInt(str);
		double debt = 100.0; 
		for(int i = 0; i < n; i++){
			debt = debt * 1.05;
			int deb = (int)debt;
			double pre = debt;
			pre  = pre - (double)deb;
			if(pre != 0.0)
				deb++;
			debt = (double)deb;
		}
		
		
		int deb = (int)debt;
		deb *= 1000;
		System.out.println(deb);		
		
	}

}