import java.util.Scanner;

public class Main{

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

        int debt = 100000;
        final int n = scanner.nextInt();

        debt = calculateDebt(debt, n);

        System.out.println(debt);
    }

    static int calculateDebt (int debt) {
        final double INTEREST = 0.05;
        final int ROUNUD_UP_MONEY = 1000;

        debt *= 1 + INTEREST;
        final int fraction = debt % ROUNUD_UP_MONEY;
        if (fraction > 0) {
            debt = debt - fraction + ROUNUD_UP_MONEY ;
        }

        return debt;
    }

    static int calculateDebt (int debt, int time) {
        for (int i = 0; i < time; i++) {
            debt = calculateDebt(debt);
        }

        return debt;
    }

} import java.util.Scanner; Scanner java.util public class Main{

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

        int debt = 100000;
        final int n = scanner.nextInt();

        debt = calculateDebt(debt, n);

        System.out.println(debt);
    }

    static int calculateDebt (int debt) {
        final double INTEREST = 0.05;
        final int ROUNUD_UP_MONEY = 1000;

        debt *= 1 + INTEREST;
        final int fraction = debt % ROUNUD_UP_MONEY;
        if (fraction > 0) {
            debt = debt - fraction + ROUNUD_UP_MONEY ;
        }

        return debt;
    }

    static int calculateDebt (int debt, int time) {
        for (int i = 0; i < time; i++) {
            debt = calculateDebt(debt);
        }

        return debt;
    }

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

        int debt = 100000;
        final int n = scanner.nextInt();

        debt = calculateDebt(debt, n);

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

        int debt = 100000;
        final int n = scanner.nextInt();

        debt = calculateDebt(debt, n);

        System.out.println(debt);
    } Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) int debt = 100000; debt 100000 final int n = scanner.nextInt(); n scanner.nextInt() scanner.nextInt scanner debt = calculateDebt(debt, n) debt calculateDebt(debt, n) calculateDebt debt n System.out.println(debt) System.out.println System.out System System.out debt String[] args args static int calculateDebt (int debt) {
        final double INTEREST = 0.05;
        final int ROUNUD_UP_MONEY = 1000;

        debt *= 1 + INTEREST;
        final int fraction = debt % ROUNUD_UP_MONEY;
        if (fraction > 0) {
            debt = debt - fraction + ROUNUD_UP_MONEY ;
        }

        return debt;
    } calculateDebt {
        final double INTEREST = 0.05;
        final int ROUNUD_UP_MONEY = 1000;

        debt *= 1 + INTEREST;
        final int fraction = debt % ROUNUD_UP_MONEY;
        if (fraction > 0) {
            debt = debt - fraction + ROUNUD_UP_MONEY ;
        }

        return debt;
    } final double INTEREST = 0.05; INTEREST 0.05 final int ROUNUD_UP_MONEY = 1000; ROUNUD_UP_MONEY 1000 debt *= 1 + INTEREST debt 1 + INTEREST 1 INTEREST final int fraction = debt % ROUNUD_UP_MONEY; fraction debt % ROUNUD_UP_MONEY debt ROUNUD_UP_MONEY if (fraction > 0) {
            debt = debt - fraction + ROUNUD_UP_MONEY ;
        } fraction > 0 fraction 0 {
            debt = debt - fraction + ROUNUD_UP_MONEY ;
        } debt = debt - fraction + ROUNUD_UP_MONEY debt debt - fraction + ROUNUD_UP_MONEY debt - fraction debt fraction ROUNUD_UP_MONEY return debt; debt int debt debt static int calculateDebt (int debt, int time) {
        for (int i = 0; i < time; i++) {
            debt = calculateDebt(debt);
        }

        return debt;
    } calculateDebt {
        for (int i = 0; i < time; i++) {
            debt = calculateDebt(debt);
        }

        return debt;
    } for (int i = 0; i < time; i++) {
            debt = calculateDebt(debt);
        } int i = 0; int i = 0; i 0 i < time i time i++ i++ i {
            debt = calculateDebt(debt);
        } {
            debt = calculateDebt(debt);
        } debt = calculateDebt(debt) debt calculateDebt(debt) calculateDebt debt return debt; debt int debt debt int time time public class Main{

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

        int debt = 100000;
        final int n = scanner.nextInt();

        debt = calculateDebt(debt, n);

        System.out.println(debt);
    }

    static int calculateDebt (int debt) {
        final double INTEREST = 0.05;
        final int ROUNUD_UP_MONEY = 1000;

        debt *= 1 + INTEREST;
        final int fraction = debt % ROUNUD_UP_MONEY;
        if (fraction > 0) {
            debt = debt - fraction + ROUNUD_UP_MONEY ;
        }

        return debt;
    }

    static int calculateDebt (int debt, int time) {
        for (int i = 0; i < time; i++) {
            debt = calculateDebt(debt);
        }

        return debt;
    }

} public class Main{

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

        int debt = 100000;
        final int n = scanner.nextInt();

        debt = calculateDebt(debt, n);

        System.out.println(debt);
    }

    static int calculateDebt (int debt) {
        final double INTEREST = 0.05;
        final int ROUNUD_UP_MONEY = 1000;

        debt *= 1 + INTEREST;
        final int fraction = debt % ROUNUD_UP_MONEY;
        if (fraction > 0) {
            debt = debt - fraction + ROUNUD_UP_MONEY ;
        }

        return debt;
    }

    static int calculateDebt (int debt, int time) {
        for (int i = 0; i < time; i++) {
            debt = calculateDebt(debt);
        }

        return debt;
    }

} Main
import java.util.Scanner;

public class Main{

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

        int debt = 100000;
        final int n = scanner.nextInt();

        debt = calculateDebt(debt, n);

        System.out.println(debt);
    }

    static int calculateDebt (int debt) {
        final double INTEREST = 0.05;
        final int ROUNUD_UP_MONEY = 1000;

        debt *= 1 + INTEREST;
        final int fraction = debt % ROUNUD_UP_MONEY;
        if (fraction > 0) {
            debt = debt - fraction + ROUNUD_UP_MONEY ;
        }

        return debt;
    }

    static int calculateDebt (int debt, int time) {
        for (int i = 0; i < time; i++) {
            debt = calculateDebt(debt);
        }

        return debt;
    }

}