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

public class Main {

    public static void main(String[] args) {
        BufferedReader in = new BufferedReader(new InputStreamReader(System.in));

        try {
            int week = Integer.valueOf(in.readLine());
            int debt = 100000;

            for (int i = 0; i < week; i++) {

                debt = (int) (debt * 1.05);

                if (debt % 1000 > 0) {
                    debt = (debt / 1000 + 1) * 1000;
                }
            }

            System.out.println(debt);
        } catch (IOException e) {
            e.printStackTrace();
        } finally {
            try {
                in.close();
            } catch (IOException e) {
                e.printStackTrace();
            }
        }
    }
} import java.io.BufferedReader; BufferedReader java.io import java.io.IOException; IOException java.io import java.io.InputStreamReader; InputStreamReader java.io public class Main {

    public static void main(String[] args) {
        BufferedReader in = new BufferedReader(new InputStreamReader(System.in));

        try {
            int week = Integer.valueOf(in.readLine());
            int debt = 100000;

            for (int i = 0; i < week; i++) {

                debt = (int) (debt * 1.05);

                if (debt % 1000 > 0) {
                    debt = (debt / 1000 + 1) * 1000;
                }
            }

            System.out.println(debt);
        } catch (IOException e) {
            e.printStackTrace();
        } finally {
            try {
                in.close();
            } catch (IOException e) {
                e.printStackTrace();
            }
        }
    }
} Main public static void main(String[] args) {
        BufferedReader in = new BufferedReader(new InputStreamReader(System.in));

        try {
            int week = Integer.valueOf(in.readLine());
            int debt = 100000;

            for (int i = 0; i < week; i++) {

                debt = (int) (debt * 1.05);

                if (debt % 1000 > 0) {
                    debt = (debt / 1000 + 1) * 1000;
                }
            }

            System.out.println(debt);
        } catch (IOException e) {
            e.printStackTrace();
        } finally {
            try {
                in.close();
            } catch (IOException e) {
                e.printStackTrace();
            }
        }
    } main {
        BufferedReader in = new BufferedReader(new InputStreamReader(System.in));

        try {
            int week = Integer.valueOf(in.readLine());
            int debt = 100000;

            for (int i = 0; i < week; i++) {

                debt = (int) (debt * 1.05);

                if (debt % 1000 > 0) {
                    debt = (debt / 1000 + 1) * 1000;
                }
            }

            System.out.println(debt);
        } catch (IOException e) {
            e.printStackTrace();
        } finally {
            try {
                in.close();
            } catch (IOException e) {
                e.printStackTrace();
            }
        }
    } BufferedReader in = new BufferedReader(new InputStreamReader(System.in)); in new BufferedReader(new InputStreamReader(System.in)) try {
            int week = Integer.valueOf(in.readLine());
            int debt = 100000;

            for (int i = 0; i < week; i++) {

                debt = (int) (debt * 1.05);

                if (debt % 1000 > 0) {
                    debt = (debt / 1000 + 1) * 1000;
                }
            }

            System.out.println(debt);
        } catch (IOException e) {
            e.printStackTrace();
        } finally {
            try {
                in.close();
            } catch (IOException e) {
                e.printStackTrace();
            }
        } catch (IOException e) {
            e.printStackTrace();
        } IOException e {
            e.printStackTrace();
        } e.printStackTrace() e.printStackTrace e {
            try {
                in.close();
            } catch (IOException e) {
                e.printStackTrace();
            }
        } try {
                in.close();
            } catch (IOException e) {
                e.printStackTrace();
            } catch (IOException e) {
                e.printStackTrace();
            } IOException e {
                e.printStackTrace();
            } e.printStackTrace() e.printStackTrace e {
                in.close();
            } in.close() in.close in {
            int week = Integer.valueOf(in.readLine());
            int debt = 100000;

            for (int i = 0; i < week; i++) {

                debt = (int) (debt * 1.05);

                if (debt % 1000 > 0) {
                    debt = (debt / 1000 + 1) * 1000;
                }
            }

            System.out.println(debt);
        } int week = Integer.valueOf(in.readLine()); week Integer.valueOf(in.readLine()) Integer.valueOf Integer in.readLine() in.readLine in int debt = 100000; debt 100000 for (int i = 0; i < week; i++) {

                debt = (int) (debt * 1.05);

                if (debt % 1000 > 0) {
                    debt = (debt / 1000 + 1) * 1000;
                }
            } int i = 0; int i = 0; i 0 i < week i week i++ i++ i {

                debt = (int) (debt * 1.05);

                if (debt % 1000 > 0) {
                    debt = (debt / 1000 + 1) * 1000;
                }
            } {

                debt = (int) (debt * 1.05);

                if (debt % 1000 > 0) {
                    debt = (debt / 1000 + 1) * 1000;
                }
            } debt = (int) (debt * 1.05) debt (int) (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) {
        BufferedReader in = new BufferedReader(new InputStreamReader(System.in));

        try {
            int week = Integer.valueOf(in.readLine());
            int debt = 100000;

            for (int i = 0; i < week; i++) {

                debt = (int) (debt * 1.05);

                if (debt % 1000 > 0) {
                    debt = (debt / 1000 + 1) * 1000;
                }
            }

            System.out.println(debt);
        } catch (IOException e) {
            e.printStackTrace();
        } finally {
            try {
                in.close();
            } catch (IOException e) {
                e.printStackTrace();
            }
        }
    }
} public class Main {

    public static void main(String[] args) {
        BufferedReader in = new BufferedReader(new InputStreamReader(System.in));

        try {
            int week = Integer.valueOf(in.readLine());
            int debt = 100000;

            for (int i = 0; i < week; i++) {

                debt = (int) (debt * 1.05);

                if (debt % 1000 > 0) {
                    debt = (debt / 1000 + 1) * 1000;
                }
            }

            System.out.println(debt);
        } catch (IOException e) {
            e.printStackTrace();
        } finally {
            try {
                in.close();
            } catch (IOException e) {
                e.printStackTrace();
            }
        }
    }
} Main
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class Main {

    public static void main(String[] args) {
        BufferedReader in = new BufferedReader(new InputStreamReader(System.in));

        try {
            int week = Integer.valueOf(in.readLine());
            int debt = 100000;

            for (int i = 0; i < week; i++) {

                debt = (int) (debt * 1.05);

                if (debt % 1000 > 0) {
                    debt = (debt / 1000 + 1) * 1000;
                }
            }

            System.out.println(debt);
        } catch (IOException e) {
            e.printStackTrace();
        } finally {
            try {
                in.close();
            } catch (IOException e) {
                e.printStackTrace();
            }
        }
    }
}