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

public class Main {

    public static void main(String[] args) throws Exception {
        int debt = 100000;
        int wk = Integer.parseInt(new BufferedReader(new InputStreamReader(
                System.in)).readLine());
        for (; wk > 0; wk--) {
            debt *= 1.05;
            if (debt % 1000 != 0) {
                debt = ((debt / 1000) + 1) * 1000;
            }
        }

        System.out.println(debt);
    }
} 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 {
        int debt = 100000;
        int wk = Integer.parseInt(new BufferedReader(new InputStreamReader(
                System.in)).readLine());
        for (; wk > 0; wk--) {
            debt *= 1.05;
            if (debt % 1000 != 0) {
                debt = ((debt / 1000) + 1) * 1000;
            }
        }

        System.out.println(debt);
    }
} Main public static void main(String[] args) throws Exception {
        int debt = 100000;
        int wk = Integer.parseInt(new BufferedReader(new InputStreamReader(
                System.in)).readLine());
        for (; wk > 0; wk--) {
            debt *= 1.05;
            if (debt % 1000 != 0) {
                debt = ((debt / 1000) + 1) * 1000;
            }
        }

        System.out.println(debt);
    } main {
        int debt = 100000;
        int wk = Integer.parseInt(new BufferedReader(new InputStreamReader(
                System.in)).readLine());
        for (; wk > 0; wk--) {
            debt *= 1.05;
            if (debt % 1000 != 0) {
                debt = ((debt / 1000) + 1) * 1000;
            }
        }

        System.out.println(debt);
    } int debt = 100000; debt 100000 int wk = Integer.parseInt(new BufferedReader(new InputStreamReader(
                System.in)).readLine()); wk Integer.parseInt(new BufferedReader(new InputStreamReader(
                System.in)).readLine()) Integer.parseInt Integer new BufferedReader(new InputStreamReader(
                System.in)).readLine() new BufferedReader(new InputStreamReader(
                System.in)).readLine new BufferedReader(new InputStreamReader(
                System.in)) for (; wk > 0; wk--) {
            debt *= 1.05;
            if (debt % 1000 != 0) {
                debt = ((debt / 1000) + 1) * 1000;
            }
        } ; wk > 0 wk 0 wk-- wk-- wk {
            debt *= 1.05;
            if (debt % 1000 != 0) {
                debt = ((debt / 1000) + 1) * 1000;
            }
        } {
            debt *= 1.05;
            if (debt % 1000 != 0) {
                debt = ((debt / 1000) + 1) * 1000;
            }
        } debt *= 1.05 debt 1.05 if (debt % 1000 != 0) {
                debt = ((debt / 1000) + 1) * 1000;
            } debt % 1000 != 0 debt % 1000 debt 1000 0 {
                debt = ((debt / 1000) + 1) * 1000;
            } debt = ((debt / 1000) + 1) * 1000 debt ((debt / 1000) + 1) * 1000 ((debt / 1000) + 1) (debt / 1000) debt 1000 1 1000 System.out.println(debt) System.out.println System.out System System.out debt String[] args args public class Main {

    public static void main(String[] args) throws Exception {
        int debt = 100000;
        int wk = Integer.parseInt(new BufferedReader(new InputStreamReader(
                System.in)).readLine());
        for (; wk > 0; wk--) {
            debt *= 1.05;
            if (debt % 1000 != 0) {
                debt = ((debt / 1000) + 1) * 1000;
            }
        }

        System.out.println(debt);
    }
} public class Main {

    public static void main(String[] args) throws Exception {
        int debt = 100000;
        int wk = Integer.parseInt(new BufferedReader(new InputStreamReader(
                System.in)).readLine());
        for (; wk > 0; wk--) {
            debt *= 1.05;
            if (debt % 1000 != 0) {
                debt = ((debt / 1000) + 1) * 1000;
            }
        }

        System.out.println(debt);
    }
} Main
import java.io.BufferedReader;
import java.io.InputStreamReader;

public class Main {

    public static void main(String[] args) throws Exception {
        int debt = 100000;
        int wk = Integer.parseInt(new BufferedReader(new InputStreamReader(
                System.in)).readLine());
        for (; wk > 0; wk--) {
            debt *= 1.05;
            if (debt % 1000 != 0) {
                debt = ((debt / 1000) + 1) * 1000;
            }
        }

        System.out.println(debt);
    }
}