import java.util.Scanner;

public class Main {
    public static void main(String args[]) {
        double debt = 100000.0;
        int nWeeks = new Scanner(System.in).nextInt();
        for(int i = 0; i < nWeeks; i++) {
            debt = Math.ceil(debt * 0.00105) * 1000.0;
        }
        System.out.println((int)debt);

    }
}  import java.util.Scanner; Scanner java.util public class Main {
    public static void main(String args[]) {
        double debt = 100000.0;
        int nWeeks = new Scanner(System.in).nextInt();
        for(int i = 0; i < nWeeks; i++) {
            debt = Math.ceil(debt * 0.00105) * 1000.0;
        }
        System.out.println((int)debt);

    }
} Main public static void main(String args[]) {
        double debt = 100000.0;
        int nWeeks = new Scanner(System.in).nextInt();
        for(int i = 0; i < nWeeks; i++) {
            debt = Math.ceil(debt * 0.00105) * 1000.0;
        }
        System.out.println((int)debt);

    } main {
        double debt = 100000.0;
        int nWeeks = new Scanner(System.in).nextInt();
        for(int i = 0; i < nWeeks; i++) {
            debt = Math.ceil(debt * 0.00105) * 1000.0;
        }
        System.out.println((int)debt);

    } double debt = 100000.0; debt 100000.0 int nWeeks = new Scanner(System.in).nextInt(); nWeeks new Scanner(System.in).nextInt() new Scanner(System.in).nextInt new Scanner(System.in) for(int i = 0; i < nWeeks; i++) {
            debt = Math.ceil(debt * 0.00105) * 1000.0;
        } int i = 0; int i = 0; i 0 i < nWeeks i nWeeks i++ i++ i {
            debt = Math.ceil(debt * 0.00105) * 1000.0;
        } {
            debt = Math.ceil(debt * 0.00105) * 1000.0;
        } debt = Math.ceil(debt * 0.00105) * 1000.0 debt Math.ceil(debt * 0.00105) * 1000.0 Math.ceil(debt * 0.00105) Math.ceil Math debt * 0.00105 debt 0.00105 1000.0 System.out.println((int)debt) System.out.println System.out System System.out (int)debt String args[] args public class Main {
    public static void main(String args[]) {
        double debt = 100000.0;
        int nWeeks = new Scanner(System.in).nextInt();
        for(int i = 0; i < nWeeks; i++) {
            debt = Math.ceil(debt * 0.00105) * 1000.0;
        }
        System.out.println((int)debt);

    }
} public class Main {
    public static void main(String args[]) {
        double debt = 100000.0;
        int nWeeks = new Scanner(System.in).nextInt();
        for(int i = 0; i < nWeeks; i++) {
            debt = Math.ceil(debt * 0.00105) * 1000.0;
        }
        System.out.println((int)debt);

    }
} Main
import java.util.Scanner;

public class Main {
    public static void main(String args[]) {
        double debt = 100000.0;
        int nWeeks = new Scanner(System.in).nextInt();
        for(int i = 0; i < nWeeks; i++) {
            debt = Math.ceil(debt * 0.00105) * 1000.0;
        }
        System.out.println((int)debt);

    }
} 