import java.io.*;

class Main{
    public static void main(String[]args)throws IOException{
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        int n = Integer.parseInt(br.readLine());
        double result = 100000;

        for(int i=0; i<n; i++){
            result *= 1.05;
            result = Math.ceil(result/1000)*1000;
        }
        System.out.println((int)result);

    }
} import java.io.*; io.* java class Main{
    public static void main(String[]args)throws IOException{
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        int n = Integer.parseInt(br.readLine());
        double result = 100000;

        for(int i=0; i<n; i++){
            result *= 1.05;
            result = Math.ceil(result/1000)*1000;
        }
        System.out.println((int)result);

    }
} Main public static void main(String[]args)throws IOException{
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        int n = Integer.parseInt(br.readLine());
        double result = 100000;

        for(int i=0; i<n; i++){
            result *= 1.05;
            result = Math.ceil(result/1000)*1000;
        }
        System.out.println((int)result);

    } main {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        int n = Integer.parseInt(br.readLine());
        double result = 100000;

        for(int i=0; i<n; i++){
            result *= 1.05;
            result = Math.ceil(result/1000)*1000;
        }
        System.out.println((int)result);

    } 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 double result = 100000; result 100000 for(int i=0; i<n; i++){
            result *= 1.05;
            result = Math.ceil(result/1000)*1000;
        } int i=0; int i=0; i 0 i<n i n i++ i++ i {
            result *= 1.05;
            result = Math.ceil(result/1000)*1000;
        } {
            result *= 1.05;
            result = Math.ceil(result/1000)*1000;
        } result *= 1.05 result 1.05 result = Math.ceil(result/1000)*1000 result Math.ceil(result/1000)*1000 Math.ceil(result/1000) Math.ceil Math result/1000 result 1000 1000 System.out.println((int)result) System.out.println System.out System System.out (int)result String[]args args
import java.io.*;

class Main{
    public static void main(String[]args)throws IOException{
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        int n = Integer.parseInt(br.readLine());
        double result = 100000;

        for(int i=0; i<n; i++){
            result *= 1.05;
            result = Math.ceil(result/1000)*1000;
        }
        System.out.println((int)result);

    }
}