import java.util.*;

public class Main {
    public static void main (String[] args) {
        Scanner scanner = new Scanner(System.in);
        int n =scanner.nextInt();
        int principal = 100000;
        int result = principal;

        for (int i = 0; i < n; i++) {
            result *= 1.05;
            int remainder = result % 1000;
            if ( remainder != 0) {
                result += 1000-remainder;
            }
        }
        System.out.println(result);
    }
} import java.util.*; util.* java public class Main {
    public static void main (String[] args) {
        Scanner scanner = new Scanner(System.in);
        int n =scanner.nextInt();
        int principal = 100000;
        int result = principal;

        for (int i = 0; i < n; i++) {
            result *= 1.05;
            int remainder = result % 1000;
            if ( remainder != 0) {
                result += 1000-remainder;
            }
        }
        System.out.println(result);
    }
} Main public static void main (String[] args) {
        Scanner scanner = new Scanner(System.in);
        int n =scanner.nextInt();
        int principal = 100000;
        int result = principal;

        for (int i = 0; i < n; i++) {
            result *= 1.05;
            int remainder = result % 1000;
            if ( remainder != 0) {
                result += 1000-remainder;
            }
        }
        System.out.println(result);
    } main {
        Scanner scanner = new Scanner(System.in);
        int n =scanner.nextInt();
        int principal = 100000;
        int result = principal;

        for (int i = 0; i < n; i++) {
            result *= 1.05;
            int remainder = result % 1000;
            if ( remainder != 0) {
                result += 1000-remainder;
            }
        }
        System.out.println(result);
    } Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) int n =scanner.nextInt(); n scanner.nextInt() scanner.nextInt scanner int principal = 100000; principal 100000 int result = principal; result principal for (int i = 0; i < n; i++) {
            result *= 1.05;
            int remainder = result % 1000;
            if ( remainder != 0) {
                result += 1000-remainder;
            }
        } int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
            result *= 1.05;
            int remainder = result % 1000;
            if ( remainder != 0) {
                result += 1000-remainder;
            }
        } {
            result *= 1.05;
            int remainder = result % 1000;
            if ( remainder != 0) {
                result += 1000-remainder;
            }
        } result *= 1.05 result 1.05 int remainder = result % 1000; remainder result % 1000 result 1000 if ( remainder != 0) {
                result += 1000-remainder;
            } remainder != 0 remainder 0 {
                result += 1000-remainder;
            } result += 1000-remainder result 1000-remainder 1000 remainder System.out.println(result) System.out.println System.out System System.out result String[] args args public class Main {
    public static void main (String[] args) {
        Scanner scanner = new Scanner(System.in);
        int n =scanner.nextInt();
        int principal = 100000;
        int result = principal;

        for (int i = 0; i < n; i++) {
            result *= 1.05;
            int remainder = result % 1000;
            if ( remainder != 0) {
                result += 1000-remainder;
            }
        }
        System.out.println(result);
    }
} public class Main {
    public static void main (String[] args) {
        Scanner scanner = new Scanner(System.in);
        int n =scanner.nextInt();
        int principal = 100000;
        int result = principal;

        for (int i = 0; i < n; i++) {
            result *= 1.05;
            int remainder = result % 1000;
            if ( remainder != 0) {
                result += 1000-remainder;
            }
        }
        System.out.println(result);
    }
} Main
import java.util.*;

public class Main {
    public static void main (String[] args) {
        Scanner scanner = new Scanner(System.in);
        int n =scanner.nextInt();
        int principal = 100000;
        int result = principal;

        for (int i = 0; i < n; i++) {
            result *= 1.05;
            int remainder = result % 1000;
            if ( remainder != 0) {
                result += 1000-remainder;
            }
        }
        System.out.println(result);
    }
}