import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.lang.Exception;
import java.lang.Integer;
import java.lang.System;

public class Main {
    public static void main(String[] a) throws Exception {
        BufferedReader r = new BufferedReader(new InputStreamReader(System.in));
        String s;
        int week;
        double total;

        while((s = r.readLine()) != null) {
            week = Integer.parseInt(s);
            total = 100000;
            for(int i = 0; i < week; i++) {
                total *= 1.05;
                total /= 1000;
                total = Math.ceil(total) * 1000;
            }
            System.out.printf("%.0f\n", total);
        }
    }
} import java.io.BufferedReader; BufferedReader java.io import java.io.InputStreamReader; InputStreamReader java.io import java.lang.Exception; Exception java.lang import java.lang.Integer; Integer java.lang import java.lang.System; System java.lang public class Main {
    public static void main(String[] a) throws Exception {
        BufferedReader r = new BufferedReader(new InputStreamReader(System.in));
        String s;
        int week;
        double total;

        while((s = r.readLine()) != null) {
            week = Integer.parseInt(s);
            total = 100000;
            for(int i = 0; i < week; i++) {
                total *= 1.05;
                total /= 1000;
                total = Math.ceil(total) * 1000;
            }
            System.out.printf("%.0f\n", total);
        }
    }
} Main public static void main(String[] a) throws Exception {
        BufferedReader r = new BufferedReader(new InputStreamReader(System.in));
        String s;
        int week;
        double total;

        while((s = r.readLine()) != null) {
            week = Integer.parseInt(s);
            total = 100000;
            for(int i = 0; i < week; i++) {
                total *= 1.05;
                total /= 1000;
                total = Math.ceil(total) * 1000;
            }
            System.out.printf("%.0f\n", total);
        }
    } main {
        BufferedReader r = new BufferedReader(new InputStreamReader(System.in));
        String s;
        int week;
        double total;

        while((s = r.readLine()) != null) {
            week = Integer.parseInt(s);
            total = 100000;
            for(int i = 0; i < week; i++) {
                total *= 1.05;
                total /= 1000;
                total = Math.ceil(total) * 1000;
            }
            System.out.printf("%.0f\n", total);
        }
    } BufferedReader r = new BufferedReader(new InputStreamReader(System.in)); r new BufferedReader(new InputStreamReader(System.in)) String s; s int week; week double total; total while((s = r.readLine()) != null) {
            week = Integer.parseInt(s);
            total = 100000;
            for(int i = 0; i < week; i++) {
                total *= 1.05;
                total /= 1000;
                total = Math.ceil(total) * 1000;
            }
            System.out.printf("%.0f\n", total);
        } (s = r.readLine()) != null (s = r.readLine()) s r.readLine() r.readLine r null {
            week = Integer.parseInt(s);
            total = 100000;
            for(int i = 0; i < week; i++) {
                total *= 1.05;
                total /= 1000;
                total = Math.ceil(total) * 1000;
            }
            System.out.printf("%.0f\n", total);
        } week = Integer.parseInt(s) week Integer.parseInt(s) Integer.parseInt Integer s total = 100000 total 100000 for(int i = 0; i < week; i++) {
                total *= 1.05;
                total /= 1000;
                total = Math.ceil(total) * 1000;
            } int i = 0; int i = 0; i 0 i < week i week i++ i++ i {
                total *= 1.05;
                total /= 1000;
                total = Math.ceil(total) * 1000;
            } {
                total *= 1.05;
                total /= 1000;
                total = Math.ceil(total) * 1000;
            } total *= 1.05 total 1.05 total /= 1000 total 1000 total = Math.ceil(total) * 1000 total Math.ceil(total) * 1000 Math.ceil(total) Math.ceil Math total 1000 System.out.printf("%.0f\n", total) System.out.printf System.out System System.out "%.0f\n" total String[] a a public class Main {
    public static void main(String[] a) throws Exception {
        BufferedReader r = new BufferedReader(new InputStreamReader(System.in));
        String s;
        int week;
        double total;

        while((s = r.readLine()) != null) {
            week = Integer.parseInt(s);
            total = 100000;
            for(int i = 0; i < week; i++) {
                total *= 1.05;
                total /= 1000;
                total = Math.ceil(total) * 1000;
            }
            System.out.printf("%.0f\n", total);
        }
    }
} public class Main {
    public static void main(String[] a) throws Exception {
        BufferedReader r = new BufferedReader(new InputStreamReader(System.in));
        String s;
        int week;
        double total;

        while((s = r.readLine()) != null) {
            week = Integer.parseInt(s);
            total = 100000;
            for(int i = 0; i < week; i++) {
                total *= 1.05;
                total /= 1000;
                total = Math.ceil(total) * 1000;
            }
            System.out.printf("%.0f\n", total);
        }
    }
} Main
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.lang.Exception;
import java.lang.Integer;
import java.lang.System;

public class Main {
    public static void main(String[] a) throws Exception {
        BufferedReader r = new BufferedReader(new InputStreamReader(System.in));
        String s;
        int week;
        double total;

        while((s = r.readLine()) != null) {
            week = Integer.parseInt(s);
            total = 100000;
            for(int i = 0; i < week; i++) {
                total *= 1.05;
                total /= 1000;
                total = Math.ceil(total) * 1000;
            }
            System.out.printf("%.0f\n", total);
        }
    }
}