import java.math.BigDecimal;
import java.util.Scanner;

public class Main{

    public static void main(String[] args) {

        exec();
    }

    private static void exec() {

        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();

        // 借金額
        float debt = 100000;

        // n週間後の借金残高計算
        for (int i = 0; i < n; i++) {

            // 利子5%を追加
            debt = debt + (debt / 20);

            // 借金の1000円未満切り上げ
            BigDecimal bd1 = new BigDecimal(debt / 1000);
            BigDecimal bd2 = bd1.setScale(0, BigDecimal.ROUND_UP);
            debt = bd2.intValue() * 1000;
        }

        System.out.println((int) debt);
    }
} import java.math.BigDecimal; BigDecimal java.math import java.util.Scanner; Scanner java.util public class Main{

    public static void main(String[] args) {

        exec();
    }

    private static void exec() {

        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();

        // 借金額
        float debt = 100000;

        // n週間後の借金残高計算
        for (int i = 0; i < n; i++) {

            // 利子5%を追加
            debt = debt + (debt / 20);

            // 借金の1000円未満切り上げ
            BigDecimal bd1 = new BigDecimal(debt / 1000);
            BigDecimal bd2 = bd1.setScale(0, BigDecimal.ROUND_UP);
            debt = bd2.intValue() * 1000;
        }

        System.out.println((int) debt);
    }
} Main public static void main(String[] args) {

        exec();
    } main {

        exec();
    } exec() exec String[] args args private static void exec() {

        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();

        // 借金額
        float debt = 100000;

        // n週間後の借金残高計算
        for (int i = 0; i < n; i++) {

            // 利子5%を追加
            debt = debt + (debt / 20);

            // 借金の1000円未満切り上げ
            BigDecimal bd1 = new BigDecimal(debt / 1000);
            BigDecimal bd2 = bd1.setScale(0, BigDecimal.ROUND_UP);
            debt = bd2.intValue() * 1000;
        }

        System.out.println((int) debt);
    } exec {

        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();

        // 借金額
        float debt = 100000;

        // n週間後の借金残高計算
        for (int i = 0; i < n; i++) {

            // 利子5%を追加
            debt = debt + (debt / 20);

            // 借金の1000円未満切り上げ
            BigDecimal bd1 = new BigDecimal(debt / 1000);
            BigDecimal bd2 = bd1.setScale(0, BigDecimal.ROUND_UP);
            debt = bd2.intValue() * 1000;
        }

        System.out.println((int) debt);
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int n = sc.nextInt(); n sc.nextInt() sc.nextInt sc float debt = 100000; debt 100000 for (int i = 0; i < n; i++) {

            // 利子5%を追加
            debt = debt + (debt / 20);

            // 借金の1000円未満切り上げ
            BigDecimal bd1 = new BigDecimal(debt / 1000);
            BigDecimal bd2 = bd1.setScale(0, BigDecimal.ROUND_UP);
            debt = bd2.intValue() * 1000;
        } int i = 0; int i = 0; i 0 i < n i n i++ i++ i {

            // 利子5%を追加
            debt = debt + (debt / 20);

            // 借金の1000円未満切り上げ
            BigDecimal bd1 = new BigDecimal(debt / 1000);
            BigDecimal bd2 = bd1.setScale(0, BigDecimal.ROUND_UP);
            debt = bd2.intValue() * 1000;
        } {

            // 利子5%を追加
            debt = debt + (debt / 20);

            // 借金の1000円未満切り上げ
            BigDecimal bd1 = new BigDecimal(debt / 1000);
            BigDecimal bd2 = bd1.setScale(0, BigDecimal.ROUND_UP);
            debt = bd2.intValue() * 1000;
        } debt = debt + (debt / 20) debt debt + (debt / 20) debt (debt / 20) debt 20 BigDecimal bd1 = new BigDecimal(debt / 1000); bd1 new BigDecimal(debt / 1000) BigDecimal bd2 = bd1.setScale(0, BigDecimal.ROUND_UP); bd2 bd1.setScale(0, BigDecimal.ROUND_UP) bd1.setScale bd1 0 BigDecimal.ROUND_UP BigDecimal BigDecimal.ROUND_UP debt = bd2.intValue() * 1000 debt bd2.intValue() * 1000 bd2.intValue() bd2.intValue bd2 1000 System.out.println((int) debt) System.out.println System.out System System.out (int) debt public class Main{

    public static void main(String[] args) {

        exec();
    }

    private static void exec() {

        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();

        // 借金額
        float debt = 100000;

        // n週間後の借金残高計算
        for (int i = 0; i < n; i++) {

            // 利子5%を追加
            debt = debt + (debt / 20);

            // 借金の1000円未満切り上げ
            BigDecimal bd1 = new BigDecimal(debt / 1000);
            BigDecimal bd2 = bd1.setScale(0, BigDecimal.ROUND_UP);
            debt = bd2.intValue() * 1000;
        }

        System.out.println((int) debt);
    }
} public class Main{

    public static void main(String[] args) {

        exec();
    }

    private static void exec() {

        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();

        // 借金額
        float debt = 100000;

        // n週間後の借金残高計算
        for (int i = 0; i < n; i++) {

            // 利子5%を追加
            debt = debt + (debt / 20);

            // 借金の1000円未満切り上げ
            BigDecimal bd1 = new BigDecimal(debt / 1000);
            BigDecimal bd2 = bd1.setScale(0, BigDecimal.ROUND_UP);
            debt = bd2.intValue() * 1000;
        }

        System.out.println((int) debt);
    }
} Main
import java.math.BigDecimal;
import java.util.Scanner;

public class Main{

    public static void main(String[] args) {

        exec();
    }

    private static void exec() {

        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();

        // 借金額
        float debt = 100000;

        // n週間後の借金残高計算
        for (int i = 0; i < n; i++) {

            // 利子5%を追加
            debt = debt + (debt / 20);

            // 借金の1000円未満切り上げ
            BigDecimal bd1 = new BigDecimal(debt / 1000);
            BigDecimal bd2 = bd1.setScale(0, BigDecimal.ROUND_UP);
            debt = bd2.intValue() * 1000;
        }

        System.out.println((int) debt);
    }
}