import java.util.*;
 
public class Main {
    public static void main(String args[] ) throws Exception {
        Scanner sc = new Scanner(System.in);
        
        double shakkin = 100000;
        double N = sc.nextInt();
        double totalShakkin = 0;
        
        for (int i=0; i<N; i++){
        	totalShakkin = shakkin + shakkin*0.05;
        	shakkin = totalShakkin;
        	if(shakkin % 1000 > 0){
        		shakkin = (shakkin - shakkin % 1000) + 1000;
        	}
        }
        
        int yamikin = (int)shakkin;
        
        System.out.println(yamikin);
        
    }
} import java.util.*; util.* java public class Main {
    public static void main(String args[] ) throws Exception {
        Scanner sc = new Scanner(System.in);
        
        double shakkin = 100000;
        double N = sc.nextInt();
        double totalShakkin = 0;
        
        for (int i=0; i<N; i++){
        	totalShakkin = shakkin + shakkin*0.05;
        	shakkin = totalShakkin;
        	if(shakkin % 1000 > 0){
        		shakkin = (shakkin - shakkin % 1000) + 1000;
        	}
        }
        
        int yamikin = (int)shakkin;
        
        System.out.println(yamikin);
        
    }
} Main public static void main(String args[] ) throws Exception {
        Scanner sc = new Scanner(System.in);
        
        double shakkin = 100000;
        double N = sc.nextInt();
        double totalShakkin = 0;
        
        for (int i=0; i<N; i++){
        	totalShakkin = shakkin + shakkin*0.05;
        	shakkin = totalShakkin;
        	if(shakkin % 1000 > 0){
        		shakkin = (shakkin - shakkin % 1000) + 1000;
        	}
        }
        
        int yamikin = (int)shakkin;
        
        System.out.println(yamikin);
        
    } main {
        Scanner sc = new Scanner(System.in);
        
        double shakkin = 100000;
        double N = sc.nextInt();
        double totalShakkin = 0;
        
        for (int i=0; i<N; i++){
        	totalShakkin = shakkin + shakkin*0.05;
        	shakkin = totalShakkin;
        	if(shakkin % 1000 > 0){
        		shakkin = (shakkin - shakkin % 1000) + 1000;
        	}
        }
        
        int yamikin = (int)shakkin;
        
        System.out.println(yamikin);
        
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) double shakkin = 100000; shakkin 100000 double N = sc.nextInt(); N sc.nextInt() sc.nextInt sc double totalShakkin = 0; totalShakkin 0 for (int i=0; i<N; i++){
        	totalShakkin = shakkin + shakkin*0.05;
        	shakkin = totalShakkin;
        	if(shakkin % 1000 > 0){
        		shakkin = (shakkin - shakkin % 1000) + 1000;
        	}
        } int i=0; int i=0; i 0 i<N i N i++ i++ i {
        	totalShakkin = shakkin + shakkin*0.05;
        	shakkin = totalShakkin;
        	if(shakkin % 1000 > 0){
        		shakkin = (shakkin - shakkin % 1000) + 1000;
        	}
        } {
        	totalShakkin = shakkin + shakkin*0.05;
        	shakkin = totalShakkin;
        	if(shakkin % 1000 > 0){
        		shakkin = (shakkin - shakkin % 1000) + 1000;
        	}
        } totalShakkin = shakkin + shakkin*0.05 totalShakkin shakkin + shakkin*0.05 shakkin shakkin*0.05 shakkin 0.05 shakkin = totalShakkin shakkin totalShakkin if(shakkin % 1000 > 0){
        		shakkin = (shakkin - shakkin % 1000) + 1000;
        	} shakkin % 1000 > 0 shakkin % 1000 shakkin 1000 0 {
        		shakkin = (shakkin - shakkin % 1000) + 1000;
        	} shakkin = (shakkin - shakkin % 1000) + 1000 shakkin (shakkin - shakkin % 1000) + 1000 (shakkin - shakkin % 1000) shakkin shakkin % 1000 shakkin 1000 1000 int yamikin = (int)shakkin; yamikin (int)shakkin System.out.println(yamikin) System.out.println System.out System System.out yamikin String args[] args public class Main {
    public static void main(String args[] ) throws Exception {
        Scanner sc = new Scanner(System.in);
        
        double shakkin = 100000;
        double N = sc.nextInt();
        double totalShakkin = 0;
        
        for (int i=0; i<N; i++){
        	totalShakkin = shakkin + shakkin*0.05;
        	shakkin = totalShakkin;
        	if(shakkin % 1000 > 0){
        		shakkin = (shakkin - shakkin % 1000) + 1000;
        	}
        }
        
        int yamikin = (int)shakkin;
        
        System.out.println(yamikin);
        
    }
} public class Main {
    public static void main(String args[] ) throws Exception {
        Scanner sc = new Scanner(System.in);
        
        double shakkin = 100000;
        double N = sc.nextInt();
        double totalShakkin = 0;
        
        for (int i=0; i<N; i++){
        	totalShakkin = shakkin + shakkin*0.05;
        	shakkin = totalShakkin;
        	if(shakkin % 1000 > 0){
        		shakkin = (shakkin - shakkin % 1000) + 1000;
        	}
        }
        
        int yamikin = (int)shakkin;
        
        System.out.println(yamikin);
        
    }
} Main
import java.util.*;
 
public class Main {
    public static void main(String args[] ) throws Exception {
        Scanner sc = new Scanner(System.in);
        
        double shakkin = 100000;
        double N = sc.nextInt();
        double totalShakkin = 0;
        
        for (int i=0; i<N; i++){
        	totalShakkin = shakkin + shakkin*0.05;
        	shakkin = totalShakkin;
        	if(shakkin % 1000 > 0){
        		shakkin = (shakkin - shakkin % 1000) + 1000;
        	}
        }
        
        int yamikin = (int)shakkin;
        
        System.out.println(yamikin);
        
    }
}