import java.io.PrintStream;
import java.util.Scanner;

class Main {

    public static void main(String[] args) {
        doit(args, new Scanner(System.in), System.out);
    }

    static void doit(String[] args, Scanner scanner, PrintStream out) {
        int n = scanner.nextInt();
        long debt = 100000;
        for (int i = 0; i < n; i++) {
            debt = ((long) Math.ceil(debt * 1.05 /1000.0)) * 1000;
        }
        out.println(String.format("%d", debt));
    }
} import java.io.PrintStream; PrintStream java.io import java.util.Scanner; Scanner java.util class Main {

    public static void main(String[] args) {
        doit(args, new Scanner(System.in), System.out);
    }

    static void doit(String[] args, Scanner scanner, PrintStream out) {
        int n = scanner.nextInt();
        long debt = 100000;
        for (int i = 0; i < n; i++) {
            debt = ((long) Math.ceil(debt * 1.05 /1000.0)) * 1000;
        }
        out.println(String.format("%d", debt));
    }
} Main public static void main(String[] args) {
        doit(args, new Scanner(System.in), System.out);
    } main {
        doit(args, new Scanner(System.in), System.out);
    } doit(args, new Scanner(System.in), System.out) doit args new Scanner(System.in) System.out System System.out String[] args args static void doit(String[] args, Scanner scanner, PrintStream out) {
        int n = scanner.nextInt();
        long debt = 100000;
        for (int i = 0; i < n; i++) {
            debt = ((long) Math.ceil(debt * 1.05 /1000.0)) * 1000;
        }
        out.println(String.format("%d", debt));
    } doit {
        int n = scanner.nextInt();
        long debt = 100000;
        for (int i = 0; i < n; i++) {
            debt = ((long) Math.ceil(debt * 1.05 /1000.0)) * 1000;
        }
        out.println(String.format("%d", debt));
    } int n = scanner.nextInt(); n scanner.nextInt() scanner.nextInt scanner long debt = 100000; debt 100000 for (int i = 0; i < n; i++) {
            debt = ((long) Math.ceil(debt * 1.05 /1000.0)) * 1000;
        } int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
            debt = ((long) Math.ceil(debt * 1.05 /1000.0)) * 1000;
        } {
            debt = ((long) Math.ceil(debt * 1.05 /1000.0)) * 1000;
        } debt = ((long) Math.ceil(debt * 1.05 /1000.0)) * 1000 debt ((long) Math.ceil(debt * 1.05 /1000.0)) * 1000 ((long) Math.ceil(debt * 1.05 /1000.0)) Math.ceil Math debt * 1.05 /1000.0 debt * 1.05 debt 1.05 1000.0 1000 out.println(String.format("%d", debt)) out.println out String.format("%d", debt) String.format String "%d" debt String[] args args Scanner scanner scanner PrintStream out out
import java.io.PrintStream;
import java.util.Scanner;

class Main {

    public static void main(String[] args) {
        doit(args, new Scanner(System.in), System.out);
    }

    static void doit(String[] args, Scanner scanner, PrintStream out) {
        int n = scanner.nextInt();
        long debt = 100000;
        for (int i = 0; i < n; i++) {
            debt = ((long) Math.ceil(debt * 1.05 /1000.0)) * 1000;
        }
        out.println(String.format("%d", debt));
    }
}