
import java.io.*;

public class Main {

    public static void main(String[] argv) throws IOException {
        //*
        BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
        while(true) {
            String s = in.readLine();
            if (s == null) {
                break;
            }
            f(s);
        }
        //*/
    }

    public static void f(String s) {
        int week = Integer.parseInt(s);
        double loan = 100000;
        for (int i = 0; i < week; i++) {
            loan = Math.ceil(loan * 1.05 / 1000) * 1000;
        }
        System.out.println((int)loan);
    }
} import java.io.*; io.* java public class Main {

    public static void main(String[] argv) throws IOException {
        //*
        BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
        while(true) {
            String s = in.readLine();
            if (s == null) {
                break;
            }
            f(s);
        }
        //*/
    }

    public static void f(String s) {
        int week = Integer.parseInt(s);
        double loan = 100000;
        for (int i = 0; i < week; i++) {
            loan = Math.ceil(loan * 1.05 / 1000) * 1000;
        }
        System.out.println((int)loan);
    }
} Main public static void main(String[] argv) throws IOException {
        //*
        BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
        while(true) {
            String s = in.readLine();
            if (s == null) {
                break;
            }
            f(s);
        }
        //*/
    } main {
        //*
        BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
        while(true) {
            String s = in.readLine();
            if (s == null) {
                break;
            }
            f(s);
        }
        //*/
    } BufferedReader in = new BufferedReader(new InputStreamReader(System.in)); in new BufferedReader(new InputStreamReader(System.in)) while(true) {
            String s = in.readLine();
            if (s == null) {
                break;
            }
            f(s);
        } true {
            String s = in.readLine();
            if (s == null) {
                break;
            }
            f(s);
        } String s = in.readLine(); s in.readLine() in.readLine in if (s == null) {
                break;
            } s == null s null {
                break;
            } break; f(s) f s String[] argv argv public static void f(String s) {
        int week = Integer.parseInt(s);
        double loan = 100000;
        for (int i = 0; i < week; i++) {
            loan = Math.ceil(loan * 1.05 / 1000) * 1000;
        }
        System.out.println((int)loan);
    } f {
        int week = Integer.parseInt(s);
        double loan = 100000;
        for (int i = 0; i < week; i++) {
            loan = Math.ceil(loan * 1.05 / 1000) * 1000;
        }
        System.out.println((int)loan);
    } int week = Integer.parseInt(s); week Integer.parseInt(s) Integer.parseInt Integer s double loan = 100000; loan 100000 for (int i = 0; i < week; i++) {
            loan = Math.ceil(loan * 1.05 / 1000) * 1000;
        } int i = 0; int i = 0; i 0 i < week i week i++ i++ i {
            loan = Math.ceil(loan * 1.05 / 1000) * 1000;
        } {
            loan = Math.ceil(loan * 1.05 / 1000) * 1000;
        } loan = Math.ceil(loan * 1.05 / 1000) * 1000 loan Math.ceil(loan * 1.05 / 1000) * 1000 Math.ceil(loan * 1.05 / 1000) Math.ceil Math loan * 1.05 / 1000 loan * 1.05 loan 1.05 1000 1000 System.out.println((int)loan) System.out.println System.out System System.out (int)loan String s s public class Main {

    public static void main(String[] argv) throws IOException {
        //*
        BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
        while(true) {
            String s = in.readLine();
            if (s == null) {
                break;
            }
            f(s);
        }
        //*/
    }

    public static void f(String s) {
        int week = Integer.parseInt(s);
        double loan = 100000;
        for (int i = 0; i < week; i++) {
            loan = Math.ceil(loan * 1.05 / 1000) * 1000;
        }
        System.out.println((int)loan);
    }
} public class Main {

    public static void main(String[] argv) throws IOException {
        //*
        BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
        while(true) {
            String s = in.readLine();
            if (s == null) {
                break;
            }
            f(s);
        }
        //*/
    }

    public static void f(String s) {
        int week = Integer.parseInt(s);
        double loan = 100000;
        for (int i = 0; i < week; i++) {
            loan = Math.ceil(loan * 1.05 / 1000) * 1000;
        }
        System.out.println((int)loan);
    }
} Main

import java.io.*;

public class Main {

    public static void main(String[] argv) throws IOException {
        //*
        BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
        while(true) {
            String s = in.readLine();
            if (s == null) {
                break;
            }
            f(s);
        }
        //*/
    }

    public static void f(String s) {
        int week = Integer.parseInt(s);
        double loan = 100000;
        for (int i = 0; i < week; i++) {
            loan = Math.ceil(loan * 1.05 / 1000) * 1000;
        }
        System.out.println((int)loan);
    }
}