import java.io.*;
import java.util.*;

public class Main {
    public static void main(String[] args) throws IOException {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        try{
            int a = 100000;
            int n = Integer.parseInt(br.readLine());
            for(int i=0;i<n;i++){
                 a = ((int)(a*1.05+999)/1000)*1000;
            }
            System.out.println(a);
        }catch(Exception ex){
            System.exit(0);
        }
    }
} import java.io.*; io.* java import java.util.*; util.* java public class Main {
    public static void main(String[] args) throws IOException {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        try{
            int a = 100000;
            int n = Integer.parseInt(br.readLine());
            for(int i=0;i<n;i++){
                 a = ((int)(a*1.05+999)/1000)*1000;
            }
            System.out.println(a);
        }catch(Exception ex){
            System.exit(0);
        }
    }
} Main public static void main(String[] args) throws IOException {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        try{
            int a = 100000;
            int n = Integer.parseInt(br.readLine());
            for(int i=0;i<n;i++){
                 a = ((int)(a*1.05+999)/1000)*1000;
            }
            System.out.println(a);
        }catch(Exception ex){
            System.exit(0);
        }
    } main {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        try{
            int a = 100000;
            int n = Integer.parseInt(br.readLine());
            for(int i=0;i<n;i++){
                 a = ((int)(a*1.05+999)/1000)*1000;
            }
            System.out.println(a);
        }catch(Exception ex){
            System.exit(0);
        }
    } BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) try{
            int a = 100000;
            int n = Integer.parseInt(br.readLine());
            for(int i=0;i<n;i++){
                 a = ((int)(a*1.05+999)/1000)*1000;
            }
            System.out.println(a);
        }catch(Exception ex){
            System.exit(0);
        } catch(Exception ex){
            System.exit(0);
        } Exception ex {
            System.exit(0);
        } System.exit(0) System.exit System 0 {
            int a = 100000;
            int n = Integer.parseInt(br.readLine());
            for(int i=0;i<n;i++){
                 a = ((int)(a*1.05+999)/1000)*1000;
            }
            System.out.println(a);
        } int a = 100000; a 100000 int n = Integer.parseInt(br.readLine()); n Integer.parseInt(br.readLine()) Integer.parseInt Integer br.readLine() br.readLine br for(int i=0;i<n;i++){
                 a = ((int)(a*1.05+999)/1000)*1000;
            } int i=0; int i=0; i 0 i<n i n i++ i++ i {
                 a = ((int)(a*1.05+999)/1000)*1000;
            } {
                 a = ((int)(a*1.05+999)/1000)*1000;
            } a = ((int)(a*1.05+999)/1000)*1000 a ((int)(a*1.05+999)/1000)*1000 ((int)(a*1.05+999)/1000) (int)(a*1.05+999) a*1.05 a 1.05 999 1000 1000 System.out.println(a) System.out.println System.out System System.out a String[] args args public class Main {
    public static void main(String[] args) throws IOException {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        try{
            int a = 100000;
            int n = Integer.parseInt(br.readLine());
            for(int i=0;i<n;i++){
                 a = ((int)(a*1.05+999)/1000)*1000;
            }
            System.out.println(a);
        }catch(Exception ex){
            System.exit(0);
        }
    }
} public class Main {
    public static void main(String[] args) throws IOException {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        try{
            int a = 100000;
            int n = Integer.parseInt(br.readLine());
            for(int i=0;i<n;i++){
                 a = ((int)(a*1.05+999)/1000)*1000;
            }
            System.out.println(a);
        }catch(Exception ex){
            System.exit(0);
        }
    }
} Main
import java.io.*;
import java.util.*;

public class Main {
    public static void main(String[] args) throws IOException {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        try{
            int a = 100000;
            int n = Integer.parseInt(br.readLine());
            for(int i=0;i<n;i++){
                 a = ((int)(a*1.05+999)/1000)*1000;
            }
            System.out.println(a);
        }catch(Exception ex){
            System.exit(0);
        }
    }
}