import java.io.BufferedReader;
import java.io.InputStreamReader;

public class Main {
    public static void main(String[] args) throws Exception {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        try {
            double debt = 100000;
            int x = Integer.parseInt(br.readLine());
            for (int i = 0; i < x ; i++) {
                debt *= 1.05;
                if((long)debt%1000!=0){
                    debt = (((long)debt)/1000+1)*1000;
                }
            }
            System.out.println((long)debt);

        } catch (Exception e) {
            System.out.println(e);
        }
    }
} import java.io.BufferedReader; BufferedReader java.io import java.io.InputStreamReader; InputStreamReader java.io public class Main {
    public static void main(String[] args) throws Exception {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        try {
            double debt = 100000;
            int x = Integer.parseInt(br.readLine());
            for (int i = 0; i < x ; i++) {
                debt *= 1.05;
                if((long)debt%1000!=0){
                    debt = (((long)debt)/1000+1)*1000;
                }
            }
            System.out.println((long)debt);

        } catch (Exception e) {
            System.out.println(e);
        }
    }
} Main public static void main(String[] args) throws Exception {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        try {
            double debt = 100000;
            int x = Integer.parseInt(br.readLine());
            for (int i = 0; i < x ; i++) {
                debt *= 1.05;
                if((long)debt%1000!=0){
                    debt = (((long)debt)/1000+1)*1000;
                }
            }
            System.out.println((long)debt);

        } catch (Exception e) {
            System.out.println(e);
        }
    } main {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        try {
            double debt = 100000;
            int x = Integer.parseInt(br.readLine());
            for (int i = 0; i < x ; i++) {
                debt *= 1.05;
                if((long)debt%1000!=0){
                    debt = (((long)debt)/1000+1)*1000;
                }
            }
            System.out.println((long)debt);

        } catch (Exception e) {
            System.out.println(e);
        }
    } BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) try {
            double debt = 100000;
            int x = Integer.parseInt(br.readLine());
            for (int i = 0; i < x ; i++) {
                debt *= 1.05;
                if((long)debt%1000!=0){
                    debt = (((long)debt)/1000+1)*1000;
                }
            }
            System.out.println((long)debt);

        } catch (Exception e) {
            System.out.println(e);
        } catch (Exception e) {
            System.out.println(e);
        } Exception e {
            System.out.println(e);
        } System.out.println(e) System.out.println System.out System System.out e {
            double debt = 100000;
            int x = Integer.parseInt(br.readLine());
            for (int i = 0; i < x ; i++) {
                debt *= 1.05;
                if((long)debt%1000!=0){
                    debt = (((long)debt)/1000+1)*1000;
                }
            }
            System.out.println((long)debt);

        } double debt = 100000; debt 100000 int x = Integer.parseInt(br.readLine()); x Integer.parseInt(br.readLine()) Integer.parseInt Integer br.readLine() br.readLine br for (int i = 0; i < x ; i++) {
                debt *= 1.05;
                if((long)debt%1000!=0){
                    debt = (((long)debt)/1000+1)*1000;
                }
            } int i = 0; int i = 0; i 0 i < x i x i++ i++ i {
                debt *= 1.05;
                if((long)debt%1000!=0){
                    debt = (((long)debt)/1000+1)*1000;
                }
            } {
                debt *= 1.05;
                if((long)debt%1000!=0){
                    debt = (((long)debt)/1000+1)*1000;
                }
            } debt *= 1.05 debt 1.05 if((long)debt%1000!=0){
                    debt = (((long)debt)/1000+1)*1000;
                } (long)debt%1000!=0 (long)debt%1000 (long)debt 1000 0 {
                    debt = (((long)debt)/1000+1)*1000;
                } debt = (((long)debt)/1000+1)*1000 debt (((long)debt)/1000+1)*1000 (((long)debt)/1000+1) ((long)debt)/1000 ((long)debt) 1000 1 1000 System.out.println((long)debt) System.out.println System.out System System.out (long)debt String[] args args public class Main {
    public static void main(String[] args) throws Exception {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        try {
            double debt = 100000;
            int x = Integer.parseInt(br.readLine());
            for (int i = 0; i < x ; i++) {
                debt *= 1.05;
                if((long)debt%1000!=0){
                    debt = (((long)debt)/1000+1)*1000;
                }
            }
            System.out.println((long)debt);

        } catch (Exception e) {
            System.out.println(e);
        }
    }
} public class Main {
    public static void main(String[] args) throws Exception {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        try {
            double debt = 100000;
            int x = Integer.parseInt(br.readLine());
            for (int i = 0; i < x ; i++) {
                debt *= 1.05;
                if((long)debt%1000!=0){
                    debt = (((long)debt)/1000+1)*1000;
                }
            }
            System.out.println((long)debt);

        } catch (Exception e) {
            System.out.println(e);
        }
    }
} Main
import java.io.BufferedReader;
import java.io.InputStreamReader;

public class Main {
    public static void main(String[] args) throws Exception {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        try {
            double debt = 100000;
            int x = Integer.parseInt(br.readLine());
            for (int i = 0; i < x ; i++) {
                debt *= 1.05;
                if((long)debt%1000!=0){
                    debt = (((long)debt)/1000+1)*1000;
                }
            }
            System.out.println((long)debt);

        } catch (Exception e) {
            System.out.println(e);
        }
    }
}