import java.util.Scanner;

public class Main {
    public static void main(String args[]){
        long ratio = 100000/1000;
        int n = new Scanner(System.in).nextInt();
        for(int i=0;i<n;i++){
            ratio = (long) Math.ceil(ratio*1.05);
        }
        System.out.println("" + (ratio*1000));
    }
} import java.util.Scanner; Scanner java.util public class Main {
    public static void main(String args[]){
        long ratio = 100000/1000;
        int n = new Scanner(System.in).nextInt();
        for(int i=0;i<n;i++){
            ratio = (long) Math.ceil(ratio*1.05);
        }
        System.out.println("" + (ratio*1000));
    }
} Main public static void main(String args[]){
        long ratio = 100000/1000;
        int n = new Scanner(System.in).nextInt();
        for(int i=0;i<n;i++){
            ratio = (long) Math.ceil(ratio*1.05);
        }
        System.out.println("" + (ratio*1000));
    } main {
        long ratio = 100000/1000;
        int n = new Scanner(System.in).nextInt();
        for(int i=0;i<n;i++){
            ratio = (long) Math.ceil(ratio*1.05);
        }
        System.out.println("" + (ratio*1000));
    } long ratio = 100000/1000; ratio 100000/1000 100000 1000 int n = new Scanner(System.in).nextInt(); n new Scanner(System.in).nextInt() new Scanner(System.in).nextInt new Scanner(System.in) for(int i=0;i<n;i++){
            ratio = (long) Math.ceil(ratio*1.05);
        } int i=0; int i=0; i 0 i<n i n i++ i++ i {
            ratio = (long) Math.ceil(ratio*1.05);
        } {
            ratio = (long) Math.ceil(ratio*1.05);
        } ratio = (long) Math.ceil(ratio*1.05) ratio (long) Math.ceil(ratio*1.05) Math.ceil Math ratio*1.05 ratio 1.05 System.out.println("" + (ratio*1000)) System.out.println System.out System System.out "" + (ratio*1000) "" (ratio*1000) ratio 1000 String args[] args public class Main {
    public static void main(String args[]){
        long ratio = 100000/1000;
        int n = new Scanner(System.in).nextInt();
        for(int i=0;i<n;i++){
            ratio = (long) Math.ceil(ratio*1.05);
        }
        System.out.println("" + (ratio*1000));
    }
} public class Main {
    public static void main(String args[]){
        long ratio = 100000/1000;
        int n = new Scanner(System.in).nextInt();
        for(int i=0;i<n;i++){
            ratio = (long) Math.ceil(ratio*1.05);
        }
        System.out.println("" + (ratio*1000));
    }
} Main
import java.util.Scanner;

public class Main {
    public static void main(String args[]){
        long ratio = 100000/1000;
        int n = new Scanner(System.in).nextInt();
        for(int i=0;i<n;i++){
            ratio = (long) Math.ceil(ratio*1.05);
        }
        System.out.println("" + (ratio*1000));
    }
}