import java.util.Scanner;

class Main{
    public static void main(String[] args){
        int value = 100000;
        int n = new Scanner(System.in).nextInt();
        for(int i = 0;i < n;i++){
            value *= 1.05;
            if(value % 1000 != 0) value = value / 1000 * 1000 + 1000;
        }
        System.out.println(value);
    }
} import java.util.Scanner; Scanner java.util class Main{
    public static void main(String[] args){
        int value = 100000;
        int n = new Scanner(System.in).nextInt();
        for(int i = 0;i < n;i++){
            value *= 1.05;
            if(value % 1000 != 0) value = value / 1000 * 1000 + 1000;
        }
        System.out.println(value);
    }
} Main public static void main(String[] args){
        int value = 100000;
        int n = new Scanner(System.in).nextInt();
        for(int i = 0;i < n;i++){
            value *= 1.05;
            if(value % 1000 != 0) value = value / 1000 * 1000 + 1000;
        }
        System.out.println(value);
    } main {
        int value = 100000;
        int n = new Scanner(System.in).nextInt();
        for(int i = 0;i < n;i++){
            value *= 1.05;
            if(value % 1000 != 0) value = value / 1000 * 1000 + 1000;
        }
        System.out.println(value);
    } int value = 100000; value 100000 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++){
            value *= 1.05;
            if(value % 1000 != 0) value = value / 1000 * 1000 + 1000;
        } int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
            value *= 1.05;
            if(value % 1000 != 0) value = value / 1000 * 1000 + 1000;
        } {
            value *= 1.05;
            if(value % 1000 != 0) value = value / 1000 * 1000 + 1000;
        } value *= 1.05 value 1.05 if(value % 1000 != 0) value = value / 1000 * 1000 + 1000; value % 1000 != 0 value % 1000 value 1000 0 value = value / 1000 * 1000 + 1000 value value / 1000 * 1000 + 1000 value / 1000 * 1000 value / 1000 value 1000 1000 1000 System.out.println(value) System.out.println System.out System System.out value String[] args args
import java.util.Scanner;

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