/* package whatever; // don't place package name! */
 
import java.util.*;
import java.lang.*;
import java.io.*;
 
import java.util.ArrayList;
import java.util.List;
 
/* Name of the class has to be "Main" only if the class is public. */
class Main
{
    public static void main (String[] args) throws java.lang.Exception
    {
        //文字列読込み
        Scanner sc = new Scanner(System.in);
 
        //結果格納
        int scInt;
        scInt = sc.nextInt();
	
        double price = 100000;

        for (int i = 0; i < scInt; i++){
	price = price * 1.05;
	price = (Math.ceil(price / 1000))*1000;
        }

        System.out.println(Math.round(price));         

    }
} import java.util.*; util.* java import java.lang.*; lang.* java import java.io.*; io.* java import java.util.ArrayList; ArrayList java.util import java.util.List; List java.util class Main
{
    public static void main (String[] args) throws java.lang.Exception
    {
        //文字列読込み
        Scanner sc = new Scanner(System.in);
 
        //結果格納
        int scInt;
        scInt = sc.nextInt();
	
        double price = 100000;

        for (int i = 0; i < scInt; i++){
	price = price * 1.05;
	price = (Math.ceil(price / 1000))*1000;
        }

        System.out.println(Math.round(price));         

    }
} Main public static void main (String[] args) throws java.lang.Exception
    {
        //文字列読込み
        Scanner sc = new Scanner(System.in);
 
        //結果格納
        int scInt;
        scInt = sc.nextInt();
	
        double price = 100000;

        for (int i = 0; i < scInt; i++){
	price = price * 1.05;
	price = (Math.ceil(price / 1000))*1000;
        }

        System.out.println(Math.round(price));         

    } main {
        //文字列読込み
        Scanner sc = new Scanner(System.in);
 
        //結果格納
        int scInt;
        scInt = sc.nextInt();
	
        double price = 100000;

        for (int i = 0; i < scInt; i++){
	price = price * 1.05;
	price = (Math.ceil(price / 1000))*1000;
        }

        System.out.println(Math.round(price));         

    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int scInt; scInt scInt = sc.nextInt() scInt sc.nextInt() sc.nextInt sc double price = 100000; price 100000 for (int i = 0; i < scInt; i++){
	price = price * 1.05;
	price = (Math.ceil(price / 1000))*1000;
        } int i = 0; int i = 0; i 0 i < scInt i scInt i++ i++ i {
	price = price * 1.05;
	price = (Math.ceil(price / 1000))*1000;
        } {
	price = price * 1.05;
	price = (Math.ceil(price / 1000))*1000;
        } price = price * 1.05 price price * 1.05 price 1.05 price = (Math.ceil(price / 1000))*1000 price (Math.ceil(price / 1000))*1000 (Math.ceil(price / 1000)) Math.ceil Math price / 1000 price 1000 1000 System.out.println(Math.round(price)) System.out.println System.out System System.out Math.round(price) Math.round Math price String[] args args
/* package whatever; // don't place package name! */
 
import java.util.*;
import java.lang.*;
import java.io.*;
 
import java.util.ArrayList;
import java.util.List;
 
/* Name of the class has to be "Main" only if the class is public. */
class Main
{
    public static void main (String[] args) throws java.lang.Exception
    {
        //文字列読込み
        Scanner sc = new Scanner(System.in);
 
        //結果格納
        int scInt;
        scInt = sc.nextInt();
	
        double price = 100000;

        for (int i = 0; i < scInt; i++){
	price = price * 1.05;
	price = (Math.ceil(price / 1000))*1000;
        }

        System.out.println(Math.round(price));         

    }
}
