import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        try (Scanner in = new Scanner(System.in)) {
            solve(in);
        }
    }

    private static void solve(Scanner in) {
        int n = in.nextInt();
        int debt = 100000;
        double rate = 1.05;

        while (n --> 0) {
            debt *= rate;
            int rem = debt % 1000;
            if (rem != 0) {
                debt = debt - rem + 1000;
            }
        }

        System.out.println(debt);
    }
} import java.util.Scanner; Scanner java.util public class Main {
    public static void main(String[] args) {
        try (Scanner in = new Scanner(System.in)) {
            solve(in);
        }
    }

    private static void solve(Scanner in) {
        int n = in.nextInt();
        int debt = 100000;
        double rate = 1.05;

        while (n --> 0) {
            debt *= rate;
            int rem = debt % 1000;
            if (rem != 0) {
                debt = debt - rem + 1000;
            }
        }

        System.out.println(debt);
    }
} Main public static void main(String[] args) {
        try (Scanner in = new Scanner(System.in)) {
            solve(in);
        }
    } main {
        try (Scanner in = new Scanner(System.in)) {
            solve(in);
        }
    } try (Scanner in = new Scanner(System.in)) {
            solve(in);
        } {
            solve(in);
        } Scanner in = new Scanner(System.in) Scanner in = new Scanner(System.in) new Scanner(System.in) solve(in) solve in String[] args args private static void solve(Scanner in) {
        int n = in.nextInt();
        int debt = 100000;
        double rate = 1.05;

        while (n --> 0) {
            debt *= rate;
            int rem = debt % 1000;
            if (rem != 0) {
                debt = debt - rem + 1000;
            }
        }

        System.out.println(debt);
    } solve {
        int n = in.nextInt();
        int debt = 100000;
        double rate = 1.05;

        while (n --> 0) {
            debt *= rate;
            int rem = debt % 1000;
            if (rem != 0) {
                debt = debt - rem + 1000;
            }
        }

        System.out.println(debt);
    } int n = in.nextInt(); n in.nextInt() in.nextInt in int debt = 100000; debt 100000 double rate = 1.05; rate 1.05 while (n --> 0) {
            debt *= rate;
            int rem = debt % 1000;
            if (rem != 0) {
                debt = debt - rem + 1000;
            }
        } n --> 0 n -- n 0 {
            debt *= rate;
            int rem = debt % 1000;
            if (rem != 0) {
                debt = debt - rem + 1000;
            }
        } debt *= rate debt rate int rem = debt % 1000; rem debt % 1000 debt 1000 if (rem != 0) {
                debt = debt - rem + 1000;
            } rem != 0 rem 0 {
                debt = debt - rem + 1000;
            } debt = debt - rem + 1000 debt debt - rem + 1000 debt - rem debt rem 1000 System.out.println(debt) System.out.println System.out System System.out debt Scanner in in public class Main {
    public static void main(String[] args) {
        try (Scanner in = new Scanner(System.in)) {
            solve(in);
        }
    }

    private static void solve(Scanner in) {
        int n = in.nextInt();
        int debt = 100000;
        double rate = 1.05;

        while (n --> 0) {
            debt *= rate;
            int rem = debt % 1000;
            if (rem != 0) {
                debt = debt - rem + 1000;
            }
        }

        System.out.println(debt);
    }
} public class Main {
    public static void main(String[] args) {
        try (Scanner in = new Scanner(System.in)) {
            solve(in);
        }
    }

    private static void solve(Scanner in) {
        int n = in.nextInt();
        int debt = 100000;
        double rate = 1.05;

        while (n --> 0) {
            debt *= rate;
            int rem = debt % 1000;
            if (rem != 0) {
                debt = debt - rem + 1000;
            }
        }

        System.out.println(debt);
    }
} Main
import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        try (Scanner in = new Scanner(System.in)) {
            solve(in);
        }
    }

    private static void solve(Scanner in) {
        int n = in.nextInt();
        int debt = 100000;
        double rate = 1.05;

        while (n --> 0) {
            debt *= rate;
            int rem = debt % 1000;
            if (rem != 0) {
                debt = debt - rem + 1000;
            }
        }

        System.out.println(debt);
    }
}