import java.io.*;

public class Main {

    public static void main(String[] args){
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        try{
            String st = br.readLine();
            int n = Integer.parseInt(st);
            int x = 100000;
            for(int i = 0; i < n; i ++){
                x = 1000*(int)Math.ceil(x*1.05/1000);
            }
            System.out.println(x);
        }catch(IOException ex){
            
        }
    }
} import java.io.*; io.* java public class Main {

    public static void main(String[] args){
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        try{
            String st = br.readLine();
            int n = Integer.parseInt(st);
            int x = 100000;
            for(int i = 0; i < n; i ++){
                x = 1000*(int)Math.ceil(x*1.05/1000);
            }
            System.out.println(x);
        }catch(IOException ex){
            
        }
    }
} Main public static void main(String[] args){
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        try{
            String st = br.readLine();
            int n = Integer.parseInt(st);
            int x = 100000;
            for(int i = 0; i < n; i ++){
                x = 1000*(int)Math.ceil(x*1.05/1000);
            }
            System.out.println(x);
        }catch(IOException ex){
            
        }
    } main {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        try{
            String st = br.readLine();
            int n = Integer.parseInt(st);
            int x = 100000;
            for(int i = 0; i < n; i ++){
                x = 1000*(int)Math.ceil(x*1.05/1000);
            }
            System.out.println(x);
        }catch(IOException ex){
            
        }
    } BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) try{
            String st = br.readLine();
            int n = Integer.parseInt(st);
            int x = 100000;
            for(int i = 0; i < n; i ++){
                x = 1000*(int)Math.ceil(x*1.05/1000);
            }
            System.out.println(x);
        }catch(IOException ex){
            
        } catch(IOException ex){
            
        } IOException ex {
            
        } {
            String st = br.readLine();
            int n = Integer.parseInt(st);
            int x = 100000;
            for(int i = 0; i < n; i ++){
                x = 1000*(int)Math.ceil(x*1.05/1000);
            }
            System.out.println(x);
        } String st = br.readLine(); st br.readLine() br.readLine br int n = Integer.parseInt(st); n Integer.parseInt(st) Integer.parseInt Integer st int x = 100000; x 100000 for(int i = 0; i < n; i ++){
                x = 1000*(int)Math.ceil(x*1.05/1000);
            } int i = 0; int i = 0; i 0 i < n i n i ++ i ++ i {
                x = 1000*(int)Math.ceil(x*1.05/1000);
            } {
                x = 1000*(int)Math.ceil(x*1.05/1000);
            } x = 1000*(int)Math.ceil(x*1.05/1000) x 1000*(int)Math.ceil(x*1.05/1000) 1000 (int)Math.ceil(x*1.05/1000) Math.ceil Math x*1.05/1000 x*1.05 x 1.05 1000 System.out.println(x) System.out.println System.out System System.out x String[] args args public class Main {

    public static void main(String[] args){
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        try{
            String st = br.readLine();
            int n = Integer.parseInt(st);
            int x = 100000;
            for(int i = 0; i < n; i ++){
                x = 1000*(int)Math.ceil(x*1.05/1000);
            }
            System.out.println(x);
        }catch(IOException ex){
            
        }
    }
} public class Main {

    public static void main(String[] args){
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        try{
            String st = br.readLine();
            int n = Integer.parseInt(st);
            int x = 100000;
            for(int i = 0; i < n; i ++){
                x = 1000*(int)Math.ceil(x*1.05/1000);
            }
            System.out.println(x);
        }catch(IOException ex){
            
        }
    }
} Main
import java.io.*;

public class Main {

    public static void main(String[] args){
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        try{
            String st = br.readLine();
            int n = Integer.parseInt(st);
            int x = 100000;
            for(int i = 0; i < n; i ++){
                x = 1000*(int)Math.ceil(x*1.05/1000);
            }
            System.out.println(x);
        }catch(IOException ex){
            
        }
    }
}