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

public class Main {

    public static void main(String[] args) {
        BigDecimal totalDebt = new BigDecimal(100000);

        // ?¨??????\???
        Scanner sc = new Scanner(System.in);
        int term = sc.nextInt();

        // ?????¨??±????????????????????????
        for (int i = 0; i < term; i++) {

            totalDebt = totalDebt.multiply(BigDecimal.valueOf(1.05)).setScale(-3, BigDecimal.ROUND_UP);
        }

        System.out.println(totalDebt.longValue());

        sc.close();

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

    public static void main(String[] args) {
        BigDecimal totalDebt = new BigDecimal(100000);

        // ?¨??????\???
        Scanner sc = new Scanner(System.in);
        int term = sc.nextInt();

        // ?????¨??±????????????????????????
        for (int i = 0; i < term; i++) {

            totalDebt = totalDebt.multiply(BigDecimal.valueOf(1.05)).setScale(-3, BigDecimal.ROUND_UP);
        }

        System.out.println(totalDebt.longValue());

        sc.close();

    }
} Main public static void main(String[] args) {
        BigDecimal totalDebt = new BigDecimal(100000);

        // ?¨??????\???
        Scanner sc = new Scanner(System.in);
        int term = sc.nextInt();

        // ?????¨??±????????????????????????
        for (int i = 0; i < term; i++) {

            totalDebt = totalDebt.multiply(BigDecimal.valueOf(1.05)).setScale(-3, BigDecimal.ROUND_UP);
        }

        System.out.println(totalDebt.longValue());

        sc.close();

    } main {
        BigDecimal totalDebt = new BigDecimal(100000);

        // ?¨??????\???
        Scanner sc = new Scanner(System.in);
        int term = sc.nextInt();

        // ?????¨??±????????????????????????
        for (int i = 0; i < term; i++) {

            totalDebt = totalDebt.multiply(BigDecimal.valueOf(1.05)).setScale(-3, BigDecimal.ROUND_UP);
        }

        System.out.println(totalDebt.longValue());

        sc.close();

    } BigDecimal totalDebt = new BigDecimal(100000); totalDebt new BigDecimal(100000) Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int term = sc.nextInt(); term sc.nextInt() sc.nextInt sc for (int i = 0; i < term; i++) {

            totalDebt = totalDebt.multiply(BigDecimal.valueOf(1.05)).setScale(-3, BigDecimal.ROUND_UP);
        } int i = 0; int i = 0; i 0 i < term i term i++ i++ i {

            totalDebt = totalDebt.multiply(BigDecimal.valueOf(1.05)).setScale(-3, BigDecimal.ROUND_UP);
        } {

            totalDebt = totalDebt.multiply(BigDecimal.valueOf(1.05)).setScale(-3, BigDecimal.ROUND_UP);
        } totalDebt = totalDebt.multiply(BigDecimal.valueOf(1.05)).setScale(-3, BigDecimal.ROUND_UP) totalDebt totalDebt.multiply(BigDecimal.valueOf(1.05)).setScale(-3, BigDecimal.ROUND_UP) totalDebt.multiply(BigDecimal.valueOf(1.05)).setScale totalDebt.multiply(BigDecimal.valueOf(1.05)) totalDebt.multiply totalDebt BigDecimal.valueOf(1.05) BigDecimal.valueOf BigDecimal 1.05 -3 3 BigDecimal.ROUND_UP BigDecimal BigDecimal.ROUND_UP System.out.println(totalDebt.longValue()) System.out.println System.out System System.out totalDebt.longValue() totalDebt.longValue totalDebt sc.close() sc.close sc String[] args args public class Main {

    public static void main(String[] args) {
        BigDecimal totalDebt = new BigDecimal(100000);

        // ?¨??????\???
        Scanner sc = new Scanner(System.in);
        int term = sc.nextInt();

        // ?????¨??±????????????????????????
        for (int i = 0; i < term; i++) {

            totalDebt = totalDebt.multiply(BigDecimal.valueOf(1.05)).setScale(-3, BigDecimal.ROUND_UP);
        }

        System.out.println(totalDebt.longValue());

        sc.close();

    }
} public class Main {

    public static void main(String[] args) {
        BigDecimal totalDebt = new BigDecimal(100000);

        // ?¨??????\???
        Scanner sc = new Scanner(System.in);
        int term = sc.nextInt();

        // ?????¨??±????????????????????????
        for (int i = 0; i < term; i++) {

            totalDebt = totalDebt.multiply(BigDecimal.valueOf(1.05)).setScale(-3, BigDecimal.ROUND_UP);
        }

        System.out.println(totalDebt.longValue());

        sc.close();

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

public class Main {

    public static void main(String[] args) {
        BigDecimal totalDebt = new BigDecimal(100000);

        // ?¨??????\???
        Scanner sc = new Scanner(System.in);
        int term = sc.nextInt();

        // ?????¨??±????????????????????????
        for (int i = 0; i < term; i++) {

            totalDebt = totalDebt.multiply(BigDecimal.valueOf(1.05)).setScale(-3, BigDecimal.ROUND_UP);
        }

        System.out.println(totalDebt.longValue());

        sc.close();

    }
}