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

public class Main {
    public static void main(String[] args) throws IOException {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        String s = br.readLine();
        int n = Integer.parseInt(s);
        double tot = 100000;
        for (int i=1; i < n+1; i++){
            tot = tot * 1.05;
            if (tot%1000 != 0){
                tot = tot - tot%1000 + 1000;
            }
        }
        System.out.println((int)tot);
    }
} import java.io.IOException; IOException java.io import java.io.BufferedReader; BufferedReader java.io import java.io.InputStreamReader; InputStreamReader java.io public class Main {
    public static void main(String[] args) throws IOException {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        String s = br.readLine();
        int n = Integer.parseInt(s);
        double tot = 100000;
        for (int i=1; i < n+1; i++){
            tot = tot * 1.05;
            if (tot%1000 != 0){
                tot = tot - tot%1000 + 1000;
            }
        }
        System.out.println((int)tot);
    }
} Main public static void main(String[] args) throws IOException {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        String s = br.readLine();
        int n = Integer.parseInt(s);
        double tot = 100000;
        for (int i=1; i < n+1; i++){
            tot = tot * 1.05;
            if (tot%1000 != 0){
                tot = tot - tot%1000 + 1000;
            }
        }
        System.out.println((int)tot);
    } main {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        String s = br.readLine();
        int n = Integer.parseInt(s);
        double tot = 100000;
        for (int i=1; i < n+1; i++){
            tot = tot * 1.05;
            if (tot%1000 != 0){
                tot = tot - tot%1000 + 1000;
            }
        }
        System.out.println((int)tot);
    } BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) String s = br.readLine(); s br.readLine() br.readLine br int n = Integer.parseInt(s); n Integer.parseInt(s) Integer.parseInt Integer s double tot = 100000; tot 100000 for (int i=1; i < n+1; i++){
            tot = tot * 1.05;
            if (tot%1000 != 0){
                tot = tot - tot%1000 + 1000;
            }
        } int i=1; int i=1; i 1 i < n+1 i n+1 n 1 i++ i++ i {
            tot = tot * 1.05;
            if (tot%1000 != 0){
                tot = tot - tot%1000 + 1000;
            }
        } {
            tot = tot * 1.05;
            if (tot%1000 != 0){
                tot = tot - tot%1000 + 1000;
            }
        } tot = tot * 1.05 tot tot * 1.05 tot 1.05 if (tot%1000 != 0){
                tot = tot - tot%1000 + 1000;
            } tot%1000 != 0 tot%1000 tot 1000 0 {
                tot = tot - tot%1000 + 1000;
            } tot = tot - tot%1000 + 1000 tot tot - tot%1000 + 1000 tot - tot%1000 tot tot%1000 tot 1000 1000 System.out.println((int)tot) System.out.println System.out System System.out (int)tot String[] args args public class Main {
    public static void main(String[] args) throws IOException {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        String s = br.readLine();
        int n = Integer.parseInt(s);
        double tot = 100000;
        for (int i=1; i < n+1; i++){
            tot = tot * 1.05;
            if (tot%1000 != 0){
                tot = tot - tot%1000 + 1000;
            }
        }
        System.out.println((int)tot);
    }
} public class Main {
    public static void main(String[] args) throws IOException {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        String s = br.readLine();
        int n = Integer.parseInt(s);
        double tot = 100000;
        for (int i=1; i < n+1; i++){
            tot = tot * 1.05;
            if (tot%1000 != 0){
                tot = tot - tot%1000 + 1000;
            }
        }
        System.out.println((int)tot);
    }
} Main
import java.io.IOException;
import java.io.BufferedReader;
import java.io.InputStreamReader;

public class Main {
    public static void main(String[] args) throws IOException {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        String s = br.readLine();
        int n = Integer.parseInt(s);
        double tot = 100000;
        for (int i=1; i < n+1; i++){
            tot = tot * 1.05;
            if (tot%1000 != 0){
                tot = tot - tot%1000 + 1000;
            }
        }
        System.out.println((int)tot);
    }
}