import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        int amount=100000;
        for(int i=0;i<n;i++) {
            amount*=1.05;
            amount=amount%1000>0?(amount/1000+1)*1000:amount;
        }
        System.out.println(amount);
        sc.close();
    }
} import java.util.Scanner; Scanner java.util public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        int amount=100000;
        for(int i=0;i<n;i++) {
            amount*=1.05;
            amount=amount%1000>0?(amount/1000+1)*1000:amount;
        }
        System.out.println(amount);
        sc.close();
    }
} Main public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        int amount=100000;
        for(int i=0;i<n;i++) {
            amount*=1.05;
            amount=amount%1000>0?(amount/1000+1)*1000:amount;
        }
        System.out.println(amount);
        sc.close();
    } main {
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        int amount=100000;
        for(int i=0;i<n;i++) {
            amount*=1.05;
            amount=amount%1000>0?(amount/1000+1)*1000:amount;
        }
        System.out.println(amount);
        sc.close();
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int n = sc.nextInt(); n sc.nextInt() sc.nextInt sc int amount=100000; amount 100000 for(int i=0;i<n;i++) {
            amount*=1.05;
            amount=amount%1000>0?(amount/1000+1)*1000:amount;
        } int i=0; int i=0; i 0 i<n i n i++ i++ i {
            amount*=1.05;
            amount=amount%1000>0?(amount/1000+1)*1000:amount;
        } {
            amount*=1.05;
            amount=amount%1000>0?(amount/1000+1)*1000:amount;
        } amount*=1.05 amount 1.05 amount=amount%1000>0?(amount/1000+1)*1000:amount amount amount%1000>0?(amount/1000+1)*1000:amount amount%1000>0 amount%1000 amount 1000 0 (amount/1000+1)*1000 (amount/1000+1) amount/1000 amount 1000 1 1000 amount System.out.println(amount) System.out.println System.out System System.out amount sc.close() sc.close sc String[] args args public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        int amount=100000;
        for(int i=0;i<n;i++) {
            amount*=1.05;
            amount=amount%1000>0?(amount/1000+1)*1000:amount;
        }
        System.out.println(amount);
        sc.close();
    }
} public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        int amount=100000;
        for(int i=0;i<n;i++) {
            amount*=1.05;
            amount=amount%1000>0?(amount/1000+1)*1000:amount;
        }
        System.out.println(amount);
        sc.close();
    }
} Main
import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        int amount=100000;
        for(int i=0;i<n;i++) {
            amount*=1.05;
            amount=amount%1000>0?(amount/1000+1)*1000:amount;
        }
        System.out.println(amount);
        sc.close();
    }
}
