import java.util.*;

public class Main {

    public static void main(String[] args) {
        Scanner s = new Scanner(System.in);
        int weeks = s.nextInt();
        double debt = 100;
        while(weeks>0){
            debt = debt*1.05;
            debt = (int)Math.ceil(debt);
            weeks--;
        }
        System.out.println((int)debt*1000);
    }
} import java.util.*; util.* java public class Main {

    public static void main(String[] args) {
        Scanner s = new Scanner(System.in);
        int weeks = s.nextInt();
        double debt = 100;
        while(weeks>0){
            debt = debt*1.05;
            debt = (int)Math.ceil(debt);
            weeks--;
        }
        System.out.println((int)debt*1000);
    }
} Main public static void main(String[] args) {
        Scanner s = new Scanner(System.in);
        int weeks = s.nextInt();
        double debt = 100;
        while(weeks>0){
            debt = debt*1.05;
            debt = (int)Math.ceil(debt);
            weeks--;
        }
        System.out.println((int)debt*1000);
    } main {
        Scanner s = new Scanner(System.in);
        int weeks = s.nextInt();
        double debt = 100;
        while(weeks>0){
            debt = debt*1.05;
            debt = (int)Math.ceil(debt);
            weeks--;
        }
        System.out.println((int)debt*1000);
    } Scanner s = new Scanner(System.in); s new Scanner(System.in) int weeks = s.nextInt(); weeks s.nextInt() s.nextInt s double debt = 100; debt 100 while(weeks>0){
            debt = debt*1.05;
            debt = (int)Math.ceil(debt);
            weeks--;
        } weeks>0 weeks 0 {
            debt = debt*1.05;
            debt = (int)Math.ceil(debt);
            weeks--;
        } debt = debt*1.05 debt debt*1.05 debt 1.05 debt = (int)Math.ceil(debt) debt (int)Math.ceil(debt) Math.ceil Math debt weeks-- weeks System.out.println((int)debt*1000) System.out.println System.out System System.out (int)debt*1000 (int)debt 1000 String[] args args public class Main {

    public static void main(String[] args) {
        Scanner s = new Scanner(System.in);
        int weeks = s.nextInt();
        double debt = 100;
        while(weeks>0){
            debt = debt*1.05;
            debt = (int)Math.ceil(debt);
            weeks--;
        }
        System.out.println((int)debt*1000);
    }
} public class Main {

    public static void main(String[] args) {
        Scanner s = new Scanner(System.in);
        int weeks = s.nextInt();
        double debt = 100;
        while(weeks>0){
            debt = debt*1.05;
            debt = (int)Math.ceil(debt);
            weeks--;
        }
        System.out.println((int)debt*1000);
    }
} Main
import java.util.*;

public class Main {

    public static void main(String[] args) {
        Scanner s = new Scanner(System.in);
        int weeks = s.nextInt();
        double debt = 100;
        while(weeks>0){
            debt = debt*1.05;
            debt = (int)Math.ceil(debt);
            weeks--;
        }
        System.out.println((int)debt*1000);
    }
}