import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.math.BigDecimal;


public class Main {

    public static void main(String[] args) throws IOException {
        //Input ??´??°?????\?????????
        BufferedReader br =
                new BufferedReader(new InputStreamReader(System.in));
        String str = br.readLine();
        int n = Integer.parseInt(str);
        //??????
        double loan = 100000;

        //??\???????????´??°?????????????????????????±???????
        //1??±?????¨???????????????????????????????????????????????\??????
        for(int i=1; i<=n; i++){
           //?????????5%?????????????????????
           loan = loan * 1.05;
           //?????????1000???????????????????????????
           BigDecimal bd = new BigDecimal(String.valueOf(loan));
           //?¬¬1?????°???0?????´???????°???°?¬¬?????????????????????(??????)
           //1000??????????????????????????????????¬¬1?????°???-3??¨????????????????????????????????????
           loan = bd.setScale(-3, BigDecimal.ROUND_UP).doubleValue();
        }
        //??¨???????????????????°???°??????????????¢??§????????????????????????????????????int??????result???????´???????
        int result = (int) loan;
        System.out.println(result);
    }
} import java.io.BufferedReader; BufferedReader java.io import java.io.IOException; IOException java.io import java.io.InputStreamReader; InputStreamReader java.io import java.math.BigDecimal; BigDecimal java.math public class Main {

    public static void main(String[] args) throws IOException {
        //Input ??´??°?????\?????????
        BufferedReader br =
                new BufferedReader(new InputStreamReader(System.in));
        String str = br.readLine();
        int n = Integer.parseInt(str);
        //??????
        double loan = 100000;

        //??\???????????´??°?????????????????????????±???????
        //1??±?????¨???????????????????????????????????????????????\??????
        for(int i=1; i<=n; i++){
           //?????????5%?????????????????????
           loan = loan * 1.05;
           //?????????1000???????????????????????????
           BigDecimal bd = new BigDecimal(String.valueOf(loan));
           //?¬¬1?????°???0?????´???????°???°?¬¬?????????????????????(??????)
           //1000??????????????????????????????????¬¬1?????°???-3??¨????????????????????????????????????
           loan = bd.setScale(-3, BigDecimal.ROUND_UP).doubleValue();
        }
        //??¨???????????????????°???°??????????????¢??§????????????????????????????????????int??????result???????´???????
        int result = (int) loan;
        System.out.println(result);
    }
} Main public static void main(String[] args) throws IOException {
        //Input ??´??°?????\?????????
        BufferedReader br =
                new BufferedReader(new InputStreamReader(System.in));
        String str = br.readLine();
        int n = Integer.parseInt(str);
        //??????
        double loan = 100000;

        //??\???????????´??°?????????????????????????±???????
        //1??±?????¨???????????????????????????????????????????????\??????
        for(int i=1; i<=n; i++){
           //?????????5%?????????????????????
           loan = loan * 1.05;
           //?????????1000???????????????????????????
           BigDecimal bd = new BigDecimal(String.valueOf(loan));
           //?¬¬1?????°???0?????´???????°???°?¬¬?????????????????????(??????)
           //1000??????????????????????????????????¬¬1?????°???-3??¨????????????????????????????????????
           loan = bd.setScale(-3, BigDecimal.ROUND_UP).doubleValue();
        }
        //??¨???????????????????°???°??????????????¢??§????????????????????????????????????int??????result???????´???????
        int result = (int) loan;
        System.out.println(result);
    } main {
        //Input ??´??°?????\?????????
        BufferedReader br =
                new BufferedReader(new InputStreamReader(System.in));
        String str = br.readLine();
        int n = Integer.parseInt(str);
        //??????
        double loan = 100000;

        //??\???????????´??°?????????????????????????±???????
        //1??±?????¨???????????????????????????????????????????????\??????
        for(int i=1; i<=n; i++){
           //?????????5%?????????????????????
           loan = loan * 1.05;
           //?????????1000???????????????????????????
           BigDecimal bd = new BigDecimal(String.valueOf(loan));
           //?¬¬1?????°???0?????´???????°???°?¬¬?????????????????????(??????)
           //1000??????????????????????????????????¬¬1?????°???-3??¨????????????????????????????????????
           loan = bd.setScale(-3, BigDecimal.ROUND_UP).doubleValue();
        }
        //??¨???????????????????°???°??????????????¢??§????????????????????????????????????int??????result???????´???????
        int result = (int) loan;
        System.out.println(result);
    } BufferedReader br =
                new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) String str = br.readLine(); str br.readLine() br.readLine br int n = Integer.parseInt(str); n Integer.parseInt(str) Integer.parseInt Integer str double loan = 100000; loan 100000 for(int i=1; i<=n; i++){
           //?????????5%?????????????????????
           loan = loan * 1.05;
           //?????????1000???????????????????????????
           BigDecimal bd = new BigDecimal(String.valueOf(loan));
           //?¬¬1?????°???0?????´???????°???°?¬¬?????????????????????(??????)
           //1000??????????????????????????????????¬¬1?????°???-3??¨????????????????????????????????????
           loan = bd.setScale(-3, BigDecimal.ROUND_UP).doubleValue();
        } int i=1; int i=1; i 1 i<=n i n i++ i++ i {
           //?????????5%?????????????????????
           loan = loan * 1.05;
           //?????????1000???????????????????????????
           BigDecimal bd = new BigDecimal(String.valueOf(loan));
           //?¬¬1?????°???0?????´???????°???°?¬¬?????????????????????(??????)
           //1000??????????????????????????????????¬¬1?????°???-3??¨????????????????????????????????????
           loan = bd.setScale(-3, BigDecimal.ROUND_UP).doubleValue();
        } {
           //?????????5%?????????????????????
           loan = loan * 1.05;
           //?????????1000???????????????????????????
           BigDecimal bd = new BigDecimal(String.valueOf(loan));
           //?¬¬1?????°???0?????´???????°???°?¬¬?????????????????????(??????)
           //1000??????????????????????????????????¬¬1?????°???-3??¨????????????????????????????????????
           loan = bd.setScale(-3, BigDecimal.ROUND_UP).doubleValue();
        } loan = loan * 1.05 loan loan * 1.05 loan 1.05 BigDecimal bd = new BigDecimal(String.valueOf(loan)); bd new BigDecimal(String.valueOf(loan)) loan = bd.setScale(-3, BigDecimal.ROUND_UP).doubleValue() loan bd.setScale(-3, BigDecimal.ROUND_UP).doubleValue() bd.setScale(-3, BigDecimal.ROUND_UP).doubleValue bd.setScale(-3, BigDecimal.ROUND_UP) bd.setScale bd -3 3 BigDecimal.ROUND_UP BigDecimal BigDecimal.ROUND_UP int result = (int) loan; result (int) loan System.out.println(result) System.out.println System.out System System.out result String[] args args public class Main {

    public static void main(String[] args) throws IOException {
        //Input ??´??°?????\?????????
        BufferedReader br =
                new BufferedReader(new InputStreamReader(System.in));
        String str = br.readLine();
        int n = Integer.parseInt(str);
        //??????
        double loan = 100000;

        //??\???????????´??°?????????????????????????±???????
        //1??±?????¨???????????????????????????????????????????????\??????
        for(int i=1; i<=n; i++){
           //?????????5%?????????????????????
           loan = loan * 1.05;
           //?????????1000???????????????????????????
           BigDecimal bd = new BigDecimal(String.valueOf(loan));
           //?¬¬1?????°???0?????´???????°???°?¬¬?????????????????????(??????)
           //1000??????????????????????????????????¬¬1?????°???-3??¨????????????????????????????????????
           loan = bd.setScale(-3, BigDecimal.ROUND_UP).doubleValue();
        }
        //??¨???????????????????°???°??????????????¢??§????????????????????????????????????int??????result???????´???????
        int result = (int) loan;
        System.out.println(result);
    }
} public class Main {

    public static void main(String[] args) throws IOException {
        //Input ??´??°?????\?????????
        BufferedReader br =
                new BufferedReader(new InputStreamReader(System.in));
        String str = br.readLine();
        int n = Integer.parseInt(str);
        //??????
        double loan = 100000;

        //??\???????????´??°?????????????????????????±???????
        //1??±?????¨???????????????????????????????????????????????\??????
        for(int i=1; i<=n; i++){
           //?????????5%?????????????????????
           loan = loan * 1.05;
           //?????????1000???????????????????????????
           BigDecimal bd = new BigDecimal(String.valueOf(loan));
           //?¬¬1?????°???0?????´???????°???°?¬¬?????????????????????(??????)
           //1000??????????????????????????????????¬¬1?????°???-3??¨????????????????????????????????????
           loan = bd.setScale(-3, BigDecimal.ROUND_UP).doubleValue();
        }
        //??¨???????????????????°???°??????????????¢??§????????????????????????????????????int??????result???????´???????
        int result = (int) loan;
        System.out.println(result);
    }
} Main
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.math.BigDecimal;


public class Main {

    public static void main(String[] args) throws IOException {
        //Input ??´??°?????\?????????
        BufferedReader br =
                new BufferedReader(new InputStreamReader(System.in));
        String str = br.readLine();
        int n = Integer.parseInt(str);
        //??????
        double loan = 100000;

        //??\???????????´??°?????????????????????????±???????
        //1??±?????¨???????????????????????????????????????????????\??????
        for(int i=1; i<=n; i++){
           //?????????5%?????????????????????
           loan = loan * 1.05;
           //?????????1000???????????????????????????
           BigDecimal bd = new BigDecimal(String.valueOf(loan));
           //?¬¬1?????°???0?????´???????°???°?¬¬?????????????????????(??????)
           //1000??????????????????????????????????¬¬1?????°???-3??¨????????????????????????????????????
           loan = bd.setScale(-3, BigDecimal.ROUND_UP).doubleValue();
        }
        //??¨???????????????????°???°??????????????¢??§????????????????????????????????????int??????result???????´???????
        int result = (int) loan;
        System.out.println(result);
    }
}