import java.util.Scanner;
import java.util.Arrays;

public class Main{
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        double base = 100;
        double now = base;
        for(int i=0; i<n; i++){
            now = now*0.05+now;
            now=Math.ceil(now);
        }
        System.out.println((int)now*1000);
    }
} import java.util.Scanner; Scanner java.util import java.util.Arrays; Arrays java.util public class Main{
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        double base = 100;
        double now = base;
        for(int i=0; i<n; i++){
            now = now*0.05+now;
            now=Math.ceil(now);
        }
        System.out.println((int)now*1000);
    }
} Main public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        double base = 100;
        double now = base;
        for(int i=0; i<n; i++){
            now = now*0.05+now;
            now=Math.ceil(now);
        }
        System.out.println((int)now*1000);
    } main {
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        double base = 100;
        double now = base;
        for(int i=0; i<n; i++){
            now = now*0.05+now;
            now=Math.ceil(now);
        }
        System.out.println((int)now*1000);
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int n = sc.nextInt(); n sc.nextInt() sc.nextInt sc double base = 100; base 100 double now = base; now base for(int i=0; i<n; i++){
            now = now*0.05+now;
            now=Math.ceil(now);
        } int i=0; int i=0; i 0 i<n i n i++ i++ i {
            now = now*0.05+now;
            now=Math.ceil(now);
        } {
            now = now*0.05+now;
            now=Math.ceil(now);
        } now = now*0.05+now now now*0.05+now now*0.05 now 0.05 now now=Math.ceil(now) now Math.ceil(now) Math.ceil Math now System.out.println((int)now*1000) System.out.println System.out System System.out (int)now*1000 (int)now 1000 String[] args args public class Main{
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        double base = 100;
        double now = base;
        for(int i=0; i<n; i++){
            now = now*0.05+now;
            now=Math.ceil(now);
        }
        System.out.println((int)now*1000);
    }
} public class Main{
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        double base = 100;
        double now = base;
        for(int i=0; i<n; i++){
            now = now*0.05+now;
            now=Math.ceil(now);
        }
        System.out.println((int)now*1000);
    }
} Main
import java.util.Scanner;
import java.util.Arrays;

public class Main{
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        double base = 100;
        double now = base;
        for(int i=0; i<n; i++){
            now = now*0.05+now;
            now=Math.ceil(now);
        }
        System.out.println((int)now*1000);
    }
}
