import java.util.Scanner;

public class Main {

    public static void main(String[] args) {
        try (Scanner scan = new Scanner(System.in)) {
            int week = scan.nextInt();
            double debt = 100000;
            for (int i = 0; i < week; i++) {
                debt *= 1.05;
                if (debt % 1000 > 0) {
                    debt += 1000 - debt % 1000;
                }
            }
            System.out.println((int) debt);
        } catch (Exception e) {
            System.exit(0);
        }
    }

} import java.util.Scanner; Scanner java.util public class Main {

    public static void main(String[] args) {
        try (Scanner scan = new Scanner(System.in)) {
            int week = scan.nextInt();
            double debt = 100000;
            for (int i = 0; i < week; i++) {
                debt *= 1.05;
                if (debt % 1000 > 0) {
                    debt += 1000 - debt % 1000;
                }
            }
            System.out.println((int) debt);
        } catch (Exception e) {
            System.exit(0);
        }
    }

} Main public static void main(String[] args) {
        try (Scanner scan = new Scanner(System.in)) {
            int week = scan.nextInt();
            double debt = 100000;
            for (int i = 0; i < week; i++) {
                debt *= 1.05;
                if (debt % 1000 > 0) {
                    debt += 1000 - debt % 1000;
                }
            }
            System.out.println((int) debt);
        } catch (Exception e) {
            System.exit(0);
        }
    } main {
        try (Scanner scan = new Scanner(System.in)) {
            int week = scan.nextInt();
            double debt = 100000;
            for (int i = 0; i < week; i++) {
                debt *= 1.05;
                if (debt % 1000 > 0) {
                    debt += 1000 - debt % 1000;
                }
            }
            System.out.println((int) debt);
        } catch (Exception e) {
            System.exit(0);
        }
    } try (Scanner scan = new Scanner(System.in)) {
            int week = scan.nextInt();
            double debt = 100000;
            for (int i = 0; i < week; i++) {
                debt *= 1.05;
                if (debt % 1000 > 0) {
                    debt += 1000 - debt % 1000;
                }
            }
            System.out.println((int) debt);
        } catch (Exception e) {
            System.exit(0);
        } catch (Exception e) {
            System.exit(0);
        } Exception e {
            System.exit(0);
        } System.exit(0) System.exit System 0 {
            int week = scan.nextInt();
            double debt = 100000;
            for (int i = 0; i < week; i++) {
                debt *= 1.05;
                if (debt % 1000 > 0) {
                    debt += 1000 - debt % 1000;
                }
            }
            System.out.println((int) debt);
        } Scanner scan = new Scanner(System.in) Scanner scan = new Scanner(System.in) new Scanner(System.in) int week = scan.nextInt(); week scan.nextInt() scan.nextInt scan double debt = 100000; debt 100000 for (int i = 0; i < week; i++) {
                debt *= 1.05;
                if (debt % 1000 > 0) {
                    debt += 1000 - debt % 1000;
                }
            } int i = 0; int i = 0; i 0 i < week i week i++ i++ i {
                debt *= 1.05;
                if (debt % 1000 > 0) {
                    debt += 1000 - debt % 1000;
                }
            } {
                debt *= 1.05;
                if (debt % 1000 > 0) {
                    debt += 1000 - debt % 1000;
                }
            } debt *= 1.05 debt 1.05 if (debt % 1000 > 0) {
                    debt += 1000 - debt % 1000;
                } debt % 1000 > 0 debt % 1000 debt 1000 0 {
                    debt += 1000 - debt % 1000;
                } debt += 1000 - debt % 1000 debt 1000 - debt % 1000 1000 debt % 1000 debt 1000 System.out.println((int) debt) System.out.println System.out System System.out (int) debt String[] args args public class Main {

    public static void main(String[] args) {
        try (Scanner scan = new Scanner(System.in)) {
            int week = scan.nextInt();
            double debt = 100000;
            for (int i = 0; i < week; i++) {
                debt *= 1.05;
                if (debt % 1000 > 0) {
                    debt += 1000 - debt % 1000;
                }
            }
            System.out.println((int) debt);
        } catch (Exception e) {
            System.exit(0);
        }
    }

} public class Main {

    public static void main(String[] args) {
        try (Scanner scan = new Scanner(System.in)) {
            int week = scan.nextInt();
            double debt = 100000;
            for (int i = 0; i < week; i++) {
                debt *= 1.05;
                if (debt % 1000 > 0) {
                    debt += 1000 - debt % 1000;
                }
            }
            System.out.println((int) debt);
        } catch (Exception e) {
            System.exit(0);
        }
    }

} Main
import java.util.Scanner;

public class Main {

    public static void main(String[] args) {
        try (Scanner scan = new Scanner(System.in)) {
            int week = scan.nextInt();
            double debt = 100000;
            for (int i = 0; i < week; i++) {
                debt *= 1.05;
                if (debt % 1000 > 0) {
                    debt += 1000 - debt % 1000;
                }
            }
            System.out.println((int) debt);
        } catch (Exception e) {
            System.exit(0);
        }
    }

}