import java.util.Scanner;

public class Main {
    public static void main(String[] args) throws Exception {
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        double l = 100000;
        for (int i = 1; i <= n; i++) {
            l *= 1.05;
            if (l%1000 != 0) {
                l += (1000 - (l%1000));
            }
        }
        System.out.println((long)l);
    }
} import java.util.Scanner; Scanner java.util public class Main {
    public static void main(String[] args) throws Exception {
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        double l = 100000;
        for (int i = 1; i <= n; i++) {
            l *= 1.05;
            if (l%1000 != 0) {
                l += (1000 - (l%1000));
            }
        }
        System.out.println((long)l);
    }
} Main public static void main(String[] args) throws Exception {
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        double l = 100000;
        for (int i = 1; i <= n; i++) {
            l *= 1.05;
            if (l%1000 != 0) {
                l += (1000 - (l%1000));
            }
        }
        System.out.println((long)l);
    } main {
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        double l = 100000;
        for (int i = 1; i <= n; i++) {
            l *= 1.05;
            if (l%1000 != 0) {
                l += (1000 - (l%1000));
            }
        }
        System.out.println((long)l);
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int n = sc.nextInt(); n sc.nextInt() sc.nextInt sc double l = 100000; l 100000 for (int i = 1; i <= n; i++) {
            l *= 1.05;
            if (l%1000 != 0) {
                l += (1000 - (l%1000));
            }
        } int i = 1; int i = 1; i 1 i <= n i n i++ i++ i {
            l *= 1.05;
            if (l%1000 != 0) {
                l += (1000 - (l%1000));
            }
        } {
            l *= 1.05;
            if (l%1000 != 0) {
                l += (1000 - (l%1000));
            }
        } l *= 1.05 l 1.05 if (l%1000 != 0) {
                l += (1000 - (l%1000));
            } l%1000 != 0 l%1000 l 1000 0 {
                l += (1000 - (l%1000));
            } l += (1000 - (l%1000)) l (1000 - (l%1000)) 1000 (l%1000) l 1000 System.out.println((long)l) System.out.println System.out System System.out (long)l String[] args args public class Main {
    public static void main(String[] args) throws Exception {
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        double l = 100000;
        for (int i = 1; i <= n; i++) {
            l *= 1.05;
            if (l%1000 != 0) {
                l += (1000 - (l%1000));
            }
        }
        System.out.println((long)l);
    }
} public class Main {
    public static void main(String[] args) throws Exception {
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        double l = 100000;
        for (int i = 1; i <= n; i++) {
            l *= 1.05;
            if (l%1000 != 0) {
                l += (1000 - (l%1000));
            }
        }
        System.out.println((long)l);
    }
} Main
import java.util.Scanner;

public class Main {
    public static void main(String[] args) throws Exception {
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        double l = 100000;
        for (int i = 1; i <= n; i++) {
            l *= 1.05;
            if (l%1000 != 0) {
                l += (1000 - (l%1000));
            }
        }
        System.out.println((long)l);
    }
}