import java.util.Scanner;

public class Main{
    public static void main(String[] args){
        Scanner in = new Scanner(System.in);
        int n = in.nextInt();
        int ans = 100000;
        for(int i = 0; i < n; i++){
            ans = (int)Math.ceil(ans * 1.05 / 1000) * 1000;
        }
        System.out.println(ans);
    }
} import java.util.Scanner; Scanner java.util public class Main{
    public static void main(String[] args){
        Scanner in = new Scanner(System.in);
        int n = in.nextInt();
        int ans = 100000;
        for(int i = 0; i < n; i++){
            ans = (int)Math.ceil(ans * 1.05 / 1000) * 1000;
        }
        System.out.println(ans);
    }
} Main public static void main(String[] args){
        Scanner in = new Scanner(System.in);
        int n = in.nextInt();
        int ans = 100000;
        for(int i = 0; i < n; i++){
            ans = (int)Math.ceil(ans * 1.05 / 1000) * 1000;
        }
        System.out.println(ans);
    } main {
        Scanner in = new Scanner(System.in);
        int n = in.nextInt();
        int ans = 100000;
        for(int i = 0; i < n; i++){
            ans = (int)Math.ceil(ans * 1.05 / 1000) * 1000;
        }
        System.out.println(ans);
    } Scanner in = new Scanner(System.in); in new Scanner(System.in) int n = in.nextInt(); n in.nextInt() in.nextInt in int ans = 100000; ans 100000 for(int i = 0; i < n; i++){
            ans = (int)Math.ceil(ans * 1.05 / 1000) * 1000;
        } int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
            ans = (int)Math.ceil(ans * 1.05 / 1000) * 1000;
        } {
            ans = (int)Math.ceil(ans * 1.05 / 1000) * 1000;
        } ans = (int)Math.ceil(ans * 1.05 / 1000) * 1000 ans (int)Math.ceil(ans * 1.05 / 1000) * 1000 (int)Math.ceil(ans * 1.05 / 1000) Math.ceil Math ans * 1.05 / 1000 ans * 1.05 ans 1.05 1000 1000 System.out.println(ans) System.out.println System.out System System.out ans String[] args args public class Main{
    public static void main(String[] args){
        Scanner in = new Scanner(System.in);
        int n = in.nextInt();
        int ans = 100000;
        for(int i = 0; i < n; i++){
            ans = (int)Math.ceil(ans * 1.05 / 1000) * 1000;
        }
        System.out.println(ans);
    }
} public class Main{
    public static void main(String[] args){
        Scanner in = new Scanner(System.in);
        int n = in.nextInt();
        int ans = 100000;
        for(int i = 0; i < n; i++){
            ans = (int)Math.ceil(ans * 1.05 / 1000) * 1000;
        }
        System.out.println(ans);
    }
} Main
import java.util.Scanner;

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