import java.util.Scanner;

class Main {
    private static void solve() {
        Scanner scanner = new Scanner(System.in);
        int n = scanner.nextInt();
        int result = 100000;
        while (n-- > 0) {
            result *= 1.05;
            if (result % 1000 > 0) {
                result = (result / 1000 + 1) * 1000;
            }
        }
        System.out.println(result);
    }

    public static void main(String... args) {
        solve();
    }
} import java.util.Scanner; Scanner java.util class Main {
    private static void solve() {
        Scanner scanner = new Scanner(System.in);
        int n = scanner.nextInt();
        int result = 100000;
        while (n-- > 0) {
            result *= 1.05;
            if (result % 1000 > 0) {
                result = (result / 1000 + 1) * 1000;
            }
        }
        System.out.println(result);
    }

    public static void main(String... args) {
        solve();
    }
} Main private static void solve() {
        Scanner scanner = new Scanner(System.in);
        int n = scanner.nextInt();
        int result = 100000;
        while (n-- > 0) {
            result *= 1.05;
            if (result % 1000 > 0) {
                result = (result / 1000 + 1) * 1000;
            }
        }
        System.out.println(result);
    } solve {
        Scanner scanner = new Scanner(System.in);
        int n = scanner.nextInt();
        int result = 100000;
        while (n-- > 0) {
            result *= 1.05;
            if (result % 1000 > 0) {
                result = (result / 1000 + 1) * 1000;
            }
        }
        System.out.println(result);
    } Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) int n = scanner.nextInt(); n scanner.nextInt() scanner.nextInt scanner int result = 100000; result 100000 while (n-- > 0) {
            result *= 1.05;
            if (result % 1000 > 0) {
                result = (result / 1000 + 1) * 1000;
            }
        } n-- > 0 n-- n 0 {
            result *= 1.05;
            if (result % 1000 > 0) {
                result = (result / 1000 + 1) * 1000;
            }
        } result *= 1.05 result 1.05 if (result % 1000 > 0) {
                result = (result / 1000 + 1) * 1000;
            } result % 1000 > 0 result % 1000 result 1000 0 {
                result = (result / 1000 + 1) * 1000;
            } result = (result / 1000 + 1) * 1000 result (result / 1000 + 1) * 1000 (result / 1000 + 1) result / 1000 result 1000 1 1000 System.out.println(result) System.out.println System.out System System.out result public static void main(String... args) {
        solve();
    } main {
        solve();
    } solve() solve String... args args
import java.util.Scanner;

class Main {
    private static void solve() {
        Scanner scanner = new Scanner(System.in);
        int n = scanner.nextInt();
        int result = 100000;
        while (n-- > 0) {
            result *= 1.05;
            if (result % 1000 > 0) {
                result = (result / 1000 + 1) * 1000;
            }
        }
        System.out.println(result);
    }

    public static void main(String... args) {
        solve();
    }
}