import java.util.Scanner;
import java.math.BigDecimal;
import java.math.RoundingMode;

public class Main {
    public static void main(String args[]) {
        int debt = 100000;
        int nWeeks = new Scanner(System.in).nextInt();
        for(int i = 0; i < nWeeks; i++) {
            debt = new BigDecimal(debt * 1.05).setScale(-3, RoundingMode.CEILING).intValue();
        }
        System.out.println(debt);

    }
}  import java.util.Scanner; Scanner java.util import java.math.BigDecimal; BigDecimal java.math import java.math.RoundingMode; RoundingMode java.math public class Main {
    public static void main(String args[]) {
        int debt = 100000;
        int nWeeks = new Scanner(System.in).nextInt();
        for(int i = 0; i < nWeeks; i++) {
            debt = new BigDecimal(debt * 1.05).setScale(-3, RoundingMode.CEILING).intValue();
        }
        System.out.println(debt);

    }
} Main public static void main(String args[]) {
        int debt = 100000;
        int nWeeks = new Scanner(System.in).nextInt();
        for(int i = 0; i < nWeeks; i++) {
            debt = new BigDecimal(debt * 1.05).setScale(-3, RoundingMode.CEILING).intValue();
        }
        System.out.println(debt);

    } main {
        int debt = 100000;
        int nWeeks = new Scanner(System.in).nextInt();
        for(int i = 0; i < nWeeks; i++) {
            debt = new BigDecimal(debt * 1.05).setScale(-3, RoundingMode.CEILING).intValue();
        }
        System.out.println(debt);

    } int debt = 100000; debt 100000 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 = new BigDecimal(debt * 1.05).setScale(-3, RoundingMode.CEILING).intValue();
        } int i = 0; int i = 0; i 0 i < nWeeks i nWeeks i++ i++ i {
            debt = new BigDecimal(debt * 1.05).setScale(-3, RoundingMode.CEILING).intValue();
        } {
            debt = new BigDecimal(debt * 1.05).setScale(-3, RoundingMode.CEILING).intValue();
        } debt = new BigDecimal(debt * 1.05).setScale(-3, RoundingMode.CEILING).intValue() debt new BigDecimal(debt * 1.05).setScale(-3, RoundingMode.CEILING).intValue() new BigDecimal(debt * 1.05).setScale(-3, RoundingMode.CEILING).intValue new BigDecimal(debt * 1.05).setScale(-3, RoundingMode.CEILING) new BigDecimal(debt * 1.05).setScale new BigDecimal(debt * 1.05) -3 3 RoundingMode.CEILING RoundingMode RoundingMode.CEILING System.out.println(debt) System.out.println System.out System System.out debt String args[] args public class Main {
    public static void main(String args[]) {
        int debt = 100000;
        int nWeeks = new Scanner(System.in).nextInt();
        for(int i = 0; i < nWeeks; i++) {
            debt = new BigDecimal(debt * 1.05).setScale(-3, RoundingMode.CEILING).intValue();
        }
        System.out.println(debt);

    }
} public class Main {
    public static void main(String args[]) {
        int debt = 100000;
        int nWeeks = new Scanner(System.in).nextInt();
        for(int i = 0; i < nWeeks; i++) {
            debt = new BigDecimal(debt * 1.05).setScale(-3, RoundingMode.CEILING).intValue();
        }
        System.out.println(debt);

    }
} Main
import java.util.Scanner;
import java.math.BigDecimal;
import java.math.RoundingMode;

public class Main {
    public static void main(String args[]) {
        int debt = 100000;
        int nWeeks = new Scanner(System.in).nextInt();
        for(int i = 0; i < nWeeks; i++) {
            debt = new BigDecimal(debt * 1.05).setScale(-3, RoundingMode.CEILING).intValue();
        }
        System.out.println(debt);

    }
} 