import java.math.BigDecimal;
import java.util.Scanner;
class Main {
    public static final BigDecimal DEPT = new BigDecimal(100000);
    public static final BigDecimal INTEREST = new BigDecimal("0.05");
    public static void main(String[] args) {
        Scanner s = new Scanner(System.in);
        int week = Integer.parseInt(s.next());
        BigDecimal repay = DEPT;
        for (int i = 0; i < week; ++i) {
            repay = repay.add(repay.multiply(INTEREST)).setScale(-3,
                    BigDecimal.ROUND_CEILING);
        }
        s.close();
        System.out.println(repay.toPlainString());
    }
} import java.math.BigDecimal; BigDecimal java.math import java.util.Scanner; Scanner java.util class Main {
    public static final BigDecimal DEPT = new BigDecimal(100000);
    public static final BigDecimal INTEREST = new BigDecimal("0.05");
    public static void main(String[] args) {
        Scanner s = new Scanner(System.in);
        int week = Integer.parseInt(s.next());
        BigDecimal repay = DEPT;
        for (int i = 0; i < week; ++i) {
            repay = repay.add(repay.multiply(INTEREST)).setScale(-3,
                    BigDecimal.ROUND_CEILING);
        }
        s.close();
        System.out.println(repay.toPlainString());
    }
} Main public static final BigDecimal DEPT = new BigDecimal(100000); DEPT new BigDecimal(100000) public static final BigDecimal INTEREST = new BigDecimal("0.05"); INTEREST new BigDecimal("0.05") public static void main(String[] args) {
        Scanner s = new Scanner(System.in);
        int week = Integer.parseInt(s.next());
        BigDecimal repay = DEPT;
        for (int i = 0; i < week; ++i) {
            repay = repay.add(repay.multiply(INTEREST)).setScale(-3,
                    BigDecimal.ROUND_CEILING);
        }
        s.close();
        System.out.println(repay.toPlainString());
    } main {
        Scanner s = new Scanner(System.in);
        int week = Integer.parseInt(s.next());
        BigDecimal repay = DEPT;
        for (int i = 0; i < week; ++i) {
            repay = repay.add(repay.multiply(INTEREST)).setScale(-3,
                    BigDecimal.ROUND_CEILING);
        }
        s.close();
        System.out.println(repay.toPlainString());
    } Scanner s = new Scanner(System.in); s new Scanner(System.in) int week = Integer.parseInt(s.next()); week Integer.parseInt(s.next()) Integer.parseInt Integer s.next() s.next s BigDecimal repay = DEPT; repay DEPT for (int i = 0; i < week; ++i) {
            repay = repay.add(repay.multiply(INTEREST)).setScale(-3,
                    BigDecimal.ROUND_CEILING);
        } int i = 0; int i = 0; i 0 i < week i week ++i ++i i {
            repay = repay.add(repay.multiply(INTEREST)).setScale(-3,
                    BigDecimal.ROUND_CEILING);
        } {
            repay = repay.add(repay.multiply(INTEREST)).setScale(-3,
                    BigDecimal.ROUND_CEILING);
        } repay = repay.add(repay.multiply(INTEREST)).setScale(-3,
                    BigDecimal.ROUND_CEILING) repay repay.add(repay.multiply(INTEREST)).setScale(-3,
                    BigDecimal.ROUND_CEILING) repay.add(repay.multiply(INTEREST)).setScale repay.add(repay.multiply(INTEREST)) repay.add repay repay.multiply(INTEREST) repay.multiply repay INTEREST -3 3 BigDecimal.ROUND_CEILING BigDecimal BigDecimal.ROUND_CEILING s.close() s.close s System.out.println(repay.toPlainString()) System.out.println System.out System System.out repay.toPlainString() repay.toPlainString repay String[] args args
import java.math.BigDecimal;
import java.util.Scanner;
class Main {
    public static final BigDecimal DEPT = new BigDecimal(100000);
    public static final BigDecimal INTEREST = new BigDecimal("0.05");
    public static void main(String[] args) {
        Scanner s = new Scanner(System.in);
        int week = Integer.parseInt(s.next());
        BigDecimal repay = DEPT;
        for (int i = 0; i < week; ++i) {
            repay = repay.add(repay.multiply(INTEREST)).setScale(-3,
                    BigDecimal.ROUND_CEILING);
        }
        s.close();
        System.out.println(repay.toPlainString());
    }
}