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

class Main {
    public static void main (String[] args) throws IOException {
        Scanner sc = new Scanner(System.in);

        int weeks = sc.nextInt();

        int debt = 100000;

        for (int i = 0; i < weeks; i++) {
            debt = (int) Math.ceil((debt * 1.05) / 1000) * 1000;
        }

        System.out.println(debt);
    }
} import java.io.IOException; IOException java.io import java.io.BufferedReader; BufferedReader java.io import java.io.InputStreamReader; InputStreamReader java.io import java.util.Scanner; Scanner java.util class Main {
    public static void main (String[] args) throws IOException {
        Scanner sc = new Scanner(System.in);

        int weeks = sc.nextInt();

        int debt = 100000;

        for (int i = 0; i < weeks; i++) {
            debt = (int) Math.ceil((debt * 1.05) / 1000) * 1000;
        }

        System.out.println(debt);
    }
} Main public static void main (String[] args) throws IOException {
        Scanner sc = new Scanner(System.in);

        int weeks = sc.nextInt();

        int debt = 100000;

        for (int i = 0; i < weeks; i++) {
            debt = (int) Math.ceil((debt * 1.05) / 1000) * 1000;
        }

        System.out.println(debt);
    } main {
        Scanner sc = new Scanner(System.in);

        int weeks = sc.nextInt();

        int debt = 100000;

        for (int i = 0; i < weeks; i++) {
            debt = (int) Math.ceil((debt * 1.05) / 1000) * 1000;
        }

        System.out.println(debt);
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int weeks = sc.nextInt(); weeks sc.nextInt() sc.nextInt sc int debt = 100000; debt 100000 for (int i = 0; i < weeks; i++) {
            debt = (int) Math.ceil((debt * 1.05) / 1000) * 1000;
        } int i = 0; int i = 0; i 0 i < weeks i weeks i++ i++ i {
            debt = (int) Math.ceil((debt * 1.05) / 1000) * 1000;
        } {
            debt = (int) Math.ceil((debt * 1.05) / 1000) * 1000;
        } debt = (int) Math.ceil((debt * 1.05) / 1000) * 1000 debt (int) Math.ceil((debt * 1.05) / 1000) * 1000 (int) Math.ceil((debt * 1.05) / 1000) Math.ceil Math (debt * 1.05) / 1000 (debt * 1.05) debt 1.05 1000 1000 System.out.println(debt) System.out.println System.out System System.out debt String[] args args
import java.io.IOException;
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.Scanner;

class Main {
    public static void main (String[] args) throws IOException {
        Scanner sc = new Scanner(System.in);

        int weeks = sc.nextInt();

        int debt = 100000;

        for (int i = 0; i < weeks; i++) {
            debt = (int) Math.ceil((debt * 1.05) / 1000) * 1000;
        }

        System.out.println(debt);
    }
}