import java.io.*;

class Main {
    public static void main(String[] args) {
        try {
            BufferedReader br = new BufferedReader(new InputStreamReader(System.in));// ??\????????????????????????
            String line = br.readLine();

            // ????????????????????´?????????
            // String line; // ??\???????????????????????\???
            // while ((line = br.readLine()) != null) {
            // processLine(line);
            // }
            
            double initialValue = 100000.0;

        	for( int i = 0 ; i < Integer.valueOf(line) ; i++ )
        	{
        	    double interest = initialValue * 0.05;
        	    initialValue = initialValue + interest;
        	    initialValue = initialValue / 1000;
        	    initialValue = Math.ceil(initialValue);
        	    initialValue = initialValue * 1000;
        	}
        	System.out.println((int)initialValue);
        } catch (Exception e) {
            e.printStackTrace();
        }
    }

    // private static void processLine(String line) {
    // System.out.println(line);
    // }
} import java.io.*; io.* java class Main {
    public static void main(String[] args) {
        try {
            BufferedReader br = new BufferedReader(new InputStreamReader(System.in));// ??\????????????????????????
            String line = br.readLine();

            // ????????????????????´?????????
            // String line; // ??\???????????????????????\???
            // while ((line = br.readLine()) != null) {
            // processLine(line);
            // }
            
            double initialValue = 100000.0;

        	for( int i = 0 ; i < Integer.valueOf(line) ; i++ )
        	{
        	    double interest = initialValue * 0.05;
        	    initialValue = initialValue + interest;
        	    initialValue = initialValue / 1000;
        	    initialValue = Math.ceil(initialValue);
        	    initialValue = initialValue * 1000;
        	}
        	System.out.println((int)initialValue);
        } catch (Exception e) {
            e.printStackTrace();
        }
    }

    // private static void processLine(String line) {
    // System.out.println(line);
    // }
} Main public static void main(String[] args) {
        try {
            BufferedReader br = new BufferedReader(new InputStreamReader(System.in));// ??\????????????????????????
            String line = br.readLine();

            // ????????????????????´?????????
            // String line; // ??\???????????????????????\???
            // while ((line = br.readLine()) != null) {
            // processLine(line);
            // }
            
            double initialValue = 100000.0;

        	for( int i = 0 ; i < Integer.valueOf(line) ; i++ )
        	{
        	    double interest = initialValue * 0.05;
        	    initialValue = initialValue + interest;
        	    initialValue = initialValue / 1000;
        	    initialValue = Math.ceil(initialValue);
        	    initialValue = initialValue * 1000;
        	}
        	System.out.println((int)initialValue);
        } catch (Exception e) {
            e.printStackTrace();
        }
    } main {
        try {
            BufferedReader br = new BufferedReader(new InputStreamReader(System.in));// ??\????????????????????????
            String line = br.readLine();

            // ????????????????????´?????????
            // String line; // ??\???????????????????????\???
            // while ((line = br.readLine()) != null) {
            // processLine(line);
            // }
            
            double initialValue = 100000.0;

        	for( int i = 0 ; i < Integer.valueOf(line) ; i++ )
        	{
        	    double interest = initialValue * 0.05;
        	    initialValue = initialValue + interest;
        	    initialValue = initialValue / 1000;
        	    initialValue = Math.ceil(initialValue);
        	    initialValue = initialValue * 1000;
        	}
        	System.out.println((int)initialValue);
        } catch (Exception e) {
            e.printStackTrace();
        }
    } try {
            BufferedReader br = new BufferedReader(new InputStreamReader(System.in));// ??\????????????????????????
            String line = br.readLine();

            // ????????????????????´?????????
            // String line; // ??\???????????????????????\???
            // while ((line = br.readLine()) != null) {
            // processLine(line);
            // }
            
            double initialValue = 100000.0;

        	for( int i = 0 ; i < Integer.valueOf(line) ; i++ )
        	{
        	    double interest = initialValue * 0.05;
        	    initialValue = initialValue + interest;
        	    initialValue = initialValue / 1000;
        	    initialValue = Math.ceil(initialValue);
        	    initialValue = initialValue * 1000;
        	}
        	System.out.println((int)initialValue);
        } catch (Exception e) {
            e.printStackTrace();
        } catch (Exception e) {
            e.printStackTrace();
        } Exception e {
            e.printStackTrace();
        } e.printStackTrace() e.printStackTrace e {
            BufferedReader br = new BufferedReader(new InputStreamReader(System.in));// ??\????????????????????????
            String line = br.readLine();

            // ????????????????????´?????????
            // String line; // ??\???????????????????????\???
            // while ((line = br.readLine()) != null) {
            // processLine(line);
            // }
            
            double initialValue = 100000.0;

        	for( int i = 0 ; i < Integer.valueOf(line) ; i++ )
        	{
        	    double interest = initialValue * 0.05;
        	    initialValue = initialValue + interest;
        	    initialValue = initialValue / 1000;
        	    initialValue = Math.ceil(initialValue);
        	    initialValue = initialValue * 1000;
        	}
        	System.out.println((int)initialValue);
        } BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) String line = br.readLine(); line br.readLine() br.readLine br double initialValue = 100000.0; initialValue 100000.0 for( int i = 0 ; i < Integer.valueOf(line) ; i++ )
        	{
        	    double interest = initialValue * 0.05;
        	    initialValue = initialValue + interest;
        	    initialValue = initialValue / 1000;
        	    initialValue = Math.ceil(initialValue);
        	    initialValue = initialValue * 1000;
        	} int i = 0 ; int i = 0 ; i 0 i < Integer.valueOf(line) i Integer.valueOf(line) Integer.valueOf Integer line i++ i++ i {
        	    double interest = initialValue * 0.05;
        	    initialValue = initialValue + interest;
        	    initialValue = initialValue / 1000;
        	    initialValue = Math.ceil(initialValue);
        	    initialValue = initialValue * 1000;
        	} {
        	    double interest = initialValue * 0.05;
        	    initialValue = initialValue + interest;
        	    initialValue = initialValue / 1000;
        	    initialValue = Math.ceil(initialValue);
        	    initialValue = initialValue * 1000;
        	} double interest = initialValue * 0.05; interest initialValue * 0.05 initialValue 0.05 initialValue = initialValue + interest initialValue initialValue + interest initialValue interest initialValue = initialValue / 1000 initialValue initialValue / 1000 initialValue 1000 initialValue = Math.ceil(initialValue) initialValue Math.ceil(initialValue) Math.ceil Math initialValue initialValue = initialValue * 1000 initialValue initialValue * 1000 initialValue 1000 System.out.println((int)initialValue) System.out.println System.out System System.out (int)initialValue String[] args args
import java.io.*;

class Main {
    public static void main(String[] args) {
        try {
            BufferedReader br = new BufferedReader(new InputStreamReader(System.in));// ??\????????????????????????
            String line = br.readLine();

            // ????????????????????´?????????
            // String line; // ??\???????????????????????\???
            // while ((line = br.readLine()) != null) {
            // processLine(line);
            // }
            
            double initialValue = 100000.0;

        	for( int i = 0 ; i < Integer.valueOf(line) ; i++ )
        	{
        	    double interest = initialValue * 0.05;
        	    initialValue = initialValue + interest;
        	    initialValue = initialValue / 1000;
        	    initialValue = Math.ceil(initialValue);
        	    initialValue = initialValue * 1000;
        	}
        	System.out.println((int)initialValue);
        } catch (Exception e) {
            e.printStackTrace();
        }
    }

    // private static void processLine(String line) {
    // System.out.println(line);
    // }
}