import java.util.Scanner;

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

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

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

        int debt = 100000;
        int weeks = sc.nextInt();
        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[]) {
        Scanner sc = new Scanner(System.in);

        int debt = 100000;
        int weeks = sc.nextInt();
        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 debt = 100000;
        int weeks = sc.nextInt();
        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 debt = 100000; debt 100000 int weeks = sc.nextInt(); weeks sc.nextInt() sc.nextInt sc 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) 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.util.Scanner;

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

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

        System.out.println(debt);
    }
}