import java.util.Scanner;

class Main{
    public static void main(String[] args){
        Scanner in = new Scanner(System.in);
        int debt = 100000;
        int day = in.nextInt();
        for(int i = 0; i < day; i++){
            debt = (debt * 105 / 100 + 999) / 1000 * 1000;
        }
        System.out.println(debt);
    }
} import java.util.Scanner; Scanner java.util class Main{
    public static void main(String[] args){
        Scanner in = new Scanner(System.in);
        int debt = 100000;
        int day = in.nextInt();
        for(int i = 0; i < day; i++){
            debt = (debt * 105 / 100 + 999) / 1000 * 1000;
        }
        System.out.println(debt);
    }
} Main public static void main(String[] args){
        Scanner in = new Scanner(System.in);
        int debt = 100000;
        int day = in.nextInt();
        for(int i = 0; i < day; i++){
            debt = (debt * 105 / 100 + 999) / 1000 * 1000;
        }
        System.out.println(debt);
    } main {
        Scanner in = new Scanner(System.in);
        int debt = 100000;
        int day = in.nextInt();
        for(int i = 0; i < day; i++){
            debt = (debt * 105 / 100 + 999) / 1000 * 1000;
        }
        System.out.println(debt);
    } Scanner in = new Scanner(System.in); in new Scanner(System.in) int debt = 100000; debt 100000 int day = in.nextInt(); day in.nextInt() in.nextInt in for(int i = 0; i < day; i++){
            debt = (debt * 105 / 100 + 999) / 1000 * 1000;
        } int i = 0; int i = 0; i 0 i < day i day i++ i++ i {
            debt = (debt * 105 / 100 + 999) / 1000 * 1000;
        } {
            debt = (debt * 105 / 100 + 999) / 1000 * 1000;
        } debt = (debt * 105 / 100 + 999) / 1000 * 1000 debt (debt * 105 / 100 + 999) / 1000 * 1000 (debt * 105 / 100 + 999) / 1000 (debt * 105 / 100 + 999) debt * 105 / 100 debt * 105 debt 105 100 999 1000 1000 System.out.println(debt) System.out.println System.out System System.out debt String[] args args
import java.util.Scanner;

class Main{
    public static void main(String[] args){
        Scanner in = new Scanner(System.in);
        int debt = 100000;
        int day = in.nextInt();
        for(int i = 0; i < day; i++){
            debt = (debt * 105 / 100 + 999) / 1000 * 1000;
        }
        System.out.println(debt);
    }
}