import java.util.*;
import java.lang.*;
import java.io.*;

public class Main{
	public static void main (String[] args) throws java.lang.Exception{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
	    int n = Integer.parseInt(br.readLine());
	    long money = 100000;
	    while(n!=0){
	        money *= 1.05;
	        if(money%1000>0){
	        	money+=1000;
	        }
	        money /= 1000;
	        money *= 1000;
	        --n;
	    }
        System.out.println(money);
	}
} import java.util.*; util.* java import java.lang.*; lang.* java import java.io.*; io.* java public class Main{
	public static void main (String[] args) throws java.lang.Exception{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
	    int n = Integer.parseInt(br.readLine());
	    long money = 100000;
	    while(n!=0){
	        money *= 1.05;
	        if(money%1000>0){
	        	money+=1000;
	        }
	        money /= 1000;
	        money *= 1000;
	        --n;
	    }
        System.out.println(money);
	}
} Main public static void main (String[] args) throws java.lang.Exception{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
	    int n = Integer.parseInt(br.readLine());
	    long money = 100000;
	    while(n!=0){
	        money *= 1.05;
	        if(money%1000>0){
	        	money+=1000;
	        }
	        money /= 1000;
	        money *= 1000;
	        --n;
	    }
        System.out.println(money);
	} main {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
	    int n = Integer.parseInt(br.readLine());
	    long money = 100000;
	    while(n!=0){
	        money *= 1.05;
	        if(money%1000>0){
	        	money+=1000;
	        }
	        money /= 1000;
	        money *= 1000;
	        --n;
	    }
        System.out.println(money);
	} BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) int n = Integer.parseInt(br.readLine()); n Integer.parseInt(br.readLine()) Integer.parseInt Integer br.readLine() br.readLine br long money = 100000; money 100000 while(n!=0){
	        money *= 1.05;
	        if(money%1000>0){
	        	money+=1000;
	        }
	        money /= 1000;
	        money *= 1000;
	        --n;
	    } n!=0 n 0 {
	        money *= 1.05;
	        if(money%1000>0){
	        	money+=1000;
	        }
	        money /= 1000;
	        money *= 1000;
	        --n;
	    } money *= 1.05 money 1.05 if(money%1000>0){
	        	money+=1000;
	        } money%1000>0 money%1000 money 1000 0 {
	        	money+=1000;
	        } money+=1000 money 1000 money /= 1000 money 1000 money *= 1000 money 1000 --n n System.out.println(money) System.out.println System.out System System.out money String[] args args public class Main{
	public static void main (String[] args) throws java.lang.Exception{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
	    int n = Integer.parseInt(br.readLine());
	    long money = 100000;
	    while(n!=0){
	        money *= 1.05;
	        if(money%1000>0){
	        	money+=1000;
	        }
	        money /= 1000;
	        money *= 1000;
	        --n;
	    }
        System.out.println(money);
	}
} public class Main{
	public static void main (String[] args) throws java.lang.Exception{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
	    int n = Integer.parseInt(br.readLine());
	    long money = 100000;
	    while(n!=0){
	        money *= 1.05;
	        if(money%1000>0){
	        	money+=1000;
	        }
	        money /= 1000;
	        money *= 1000;
	        --n;
	    }
        System.out.println(money);
	}
} Main
import java.util.*;
import java.lang.*;
import java.io.*;

public class Main{
	public static void main (String[] args) throws java.lang.Exception{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
	    int n = Integer.parseInt(br.readLine());
	    long money = 100000;
	    while(n!=0){
	        money *= 1.05;
	        if(money%1000>0){
	        	money+=1000;
	        }
	        money /= 1000;
	        money *= 1000;
	        --n;
	    }
        System.out.println(money);
	}
}