import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);

        int n = Integer.parseInt(sc.next());
        double tmp = 100000.0;

        for (int i = 0; i < n; i++) {
            tmp *= 1.05;
            tmp /= 1000;
            tmp = Math.ceil(tmp);
            tmp *= 1000;
        }

        System.out.println((int)tmp);
    }
} import java.util.Scanner; Scanner java.util public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);

        int n = Integer.parseInt(sc.next());
        double tmp = 100000.0;

        for (int i = 0; i < n; i++) {
            tmp *= 1.05;
            tmp /= 1000;
            tmp = Math.ceil(tmp);
            tmp *= 1000;
        }

        System.out.println((int)tmp);
    }
} Main public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);

        int n = Integer.parseInt(sc.next());
        double tmp = 100000.0;

        for (int i = 0; i < n; i++) {
            tmp *= 1.05;
            tmp /= 1000;
            tmp = Math.ceil(tmp);
            tmp *= 1000;
        }

        System.out.println((int)tmp);
    } main {
        Scanner sc = new Scanner(System.in);

        int n = Integer.parseInt(sc.next());
        double tmp = 100000.0;

        for (int i = 0; i < n; i++) {
            tmp *= 1.05;
            tmp /= 1000;
            tmp = Math.ceil(tmp);
            tmp *= 1000;
        }

        System.out.println((int)tmp);
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int n = Integer.parseInt(sc.next()); n Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc double tmp = 100000.0; tmp 100000.0 for (int i = 0; i < n; i++) {
            tmp *= 1.05;
            tmp /= 1000;
            tmp = Math.ceil(tmp);
            tmp *= 1000;
        } int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
            tmp *= 1.05;
            tmp /= 1000;
            tmp = Math.ceil(tmp);
            tmp *= 1000;
        } {
            tmp *= 1.05;
            tmp /= 1000;
            tmp = Math.ceil(tmp);
            tmp *= 1000;
        } tmp *= 1.05 tmp 1.05 tmp /= 1000 tmp 1000 tmp = Math.ceil(tmp) tmp Math.ceil(tmp) Math.ceil Math tmp tmp *= 1000 tmp 1000 System.out.println((int)tmp) System.out.println System.out System System.out (int)tmp String[] args args public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);

        int n = Integer.parseInt(sc.next());
        double tmp = 100000.0;

        for (int i = 0; i < n; i++) {
            tmp *= 1.05;
            tmp /= 1000;
            tmp = Math.ceil(tmp);
            tmp *= 1000;
        }

        System.out.println((int)tmp);
    }
} public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);

        int n = Integer.parseInt(sc.next());
        double tmp = 100000.0;

        for (int i = 0; i < n; i++) {
            tmp *= 1.05;
            tmp /= 1000;
            tmp = Math.ceil(tmp);
            tmp *= 1000;
        }

        System.out.println((int)tmp);
    }
} Main
import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);

        int n = Integer.parseInt(sc.next());
        double tmp = 100000.0;

        for (int i = 0; i < n; i++) {
            tmp *= 1.05;
            tmp /= 1000;
            tmp = Math.ceil(tmp);
            tmp *= 1000;
        }

        System.out.println((int)tmp);
    }
}