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

public class Main {
    public static void main(String[] args) {
        BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
        String input;
        try {
            input = reader.readLine();
            int n = Integer.parseInt(input);
            int money = 100000;
            for(int i=0; i<n; i++){
                money = (int)Math.ceil((money * 1.05)/1000)*1000;
            }
            System.out.println(money);
        } catch (IOException e) {
            e.printStackTrace();
        }
    }
} import java.io.BufferedReader; BufferedReader java.io import java.io.IOException; IOException java.io import java.io.InputStreamReader; InputStreamReader java.io public class Main {
    public static void main(String[] args) {
        BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
        String input;
        try {
            input = reader.readLine();
            int n = Integer.parseInt(input);
            int money = 100000;
            for(int i=0; i<n; i++){
                money = (int)Math.ceil((money * 1.05)/1000)*1000;
            }
            System.out.println(money);
        } catch (IOException e) {
            e.printStackTrace();
        }
    }
} Main public static void main(String[] args) {
        BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
        String input;
        try {
            input = reader.readLine();
            int n = Integer.parseInt(input);
            int money = 100000;
            for(int i=0; i<n; i++){
                money = (int)Math.ceil((money * 1.05)/1000)*1000;
            }
            System.out.println(money);
        } catch (IOException e) {
            e.printStackTrace();
        }
    } main {
        BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
        String input;
        try {
            input = reader.readLine();
            int n = Integer.parseInt(input);
            int money = 100000;
            for(int i=0; i<n; i++){
                money = (int)Math.ceil((money * 1.05)/1000)*1000;
            }
            System.out.println(money);
        } catch (IOException e) {
            e.printStackTrace();
        }
    } BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); reader new BufferedReader(new InputStreamReader(System.in)) String input; input try {
            input = reader.readLine();
            int n = Integer.parseInt(input);
            int money = 100000;
            for(int i=0; i<n; i++){
                money = (int)Math.ceil((money * 1.05)/1000)*1000;
            }
            System.out.println(money);
        } catch (IOException e) {
            e.printStackTrace();
        } catch (IOException e) {
            e.printStackTrace();
        } IOException e {
            e.printStackTrace();
        } e.printStackTrace() e.printStackTrace e {
            input = reader.readLine();
            int n = Integer.parseInt(input);
            int money = 100000;
            for(int i=0; i<n; i++){
                money = (int)Math.ceil((money * 1.05)/1000)*1000;
            }
            System.out.println(money);
        } input = reader.readLine() input reader.readLine() reader.readLine reader int n = Integer.parseInt(input); n Integer.parseInt(input) Integer.parseInt Integer input int money = 100000; money 100000 for(int i=0; i<n; i++){
                money = (int)Math.ceil((money * 1.05)/1000)*1000;
            } int i=0; int i=0; i 0 i<n i n i++ i++ i {
                money = (int)Math.ceil((money * 1.05)/1000)*1000;
            } {
                money = (int)Math.ceil((money * 1.05)/1000)*1000;
            } money = (int)Math.ceil((money * 1.05)/1000)*1000 money (int)Math.ceil((money * 1.05)/1000)*1000 (int)Math.ceil((money * 1.05)/1000) Math.ceil Math (money * 1.05)/1000 (money * 1.05) money 1.05 1000 1000 System.out.println(money) System.out.println System.out System System.out money String[] args args public class Main {
    public static void main(String[] args) {
        BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
        String input;
        try {
            input = reader.readLine();
            int n = Integer.parseInt(input);
            int money = 100000;
            for(int i=0; i<n; i++){
                money = (int)Math.ceil((money * 1.05)/1000)*1000;
            }
            System.out.println(money);
        } catch (IOException e) {
            e.printStackTrace();
        }
    }
} public class Main {
    public static void main(String[] args) {
        BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
        String input;
        try {
            input = reader.readLine();
            int n = Integer.parseInt(input);
            int money = 100000;
            for(int i=0; i<n; i++){
                money = (int)Math.ceil((money * 1.05)/1000)*1000;
            }
            System.out.println(money);
        } catch (IOException e) {
            e.printStackTrace();
        }
    }
} Main
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class Main {
    public static void main(String[] args) {
        BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
        String input;
        try {
            input = reader.readLine();
            int n = Integer.parseInt(input);
            int money = 100000;
            for(int i=0; i<n; i++){
                money = (int)Math.ceil((money * 1.05)/1000)*1000;
            }
            System.out.println(money);
        } catch (IOException e) {
            e.printStackTrace();
        }
    }
}