import java.io.*;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Scanner;

class Main {
    public static void main(String[] args) throws IOException {
       Scanner in = new Scanner(System.in);
       int n = in.nextInt();
       double money = 100000;
       for(int i=0;i<n;i++) {
           money = money + money * 0.05;
           money = Math.ceil(money/1000.0) * 1000;
       }
       System.out.printf("%.0f\n", money);
    }
} import java.io.*; io.* java import java.util.ArrayList; ArrayList java.util import java.util.Collections; Collections java.util import java.util.Scanner; Scanner java.util class Main {
    public static void main(String[] args) throws IOException {
       Scanner in = new Scanner(System.in);
       int n = in.nextInt();
       double money = 100000;
       for(int i=0;i<n;i++) {
           money = money + money * 0.05;
           money = Math.ceil(money/1000.0) * 1000;
       }
       System.out.printf("%.0f\n", money);
    }
} Main public static void main(String[] args) throws IOException {
       Scanner in = new Scanner(System.in);
       int n = in.nextInt();
       double money = 100000;
       for(int i=0;i<n;i++) {
           money = money + money * 0.05;
           money = Math.ceil(money/1000.0) * 1000;
       }
       System.out.printf("%.0f\n", money);
    } main {
       Scanner in = new Scanner(System.in);
       int n = in.nextInt();
       double money = 100000;
       for(int i=0;i<n;i++) {
           money = money + money * 0.05;
           money = Math.ceil(money/1000.0) * 1000;
       }
       System.out.printf("%.0f\n", money);
    } Scanner in = new Scanner(System.in); in new Scanner(System.in) int n = in.nextInt(); n in.nextInt() in.nextInt in double money = 100000; money 100000 for(int i=0;i<n;i++) {
           money = money + money * 0.05;
           money = Math.ceil(money/1000.0) * 1000;
       } int i=0; int i=0; i 0 i<n i n i++ i++ i {
           money = money + money * 0.05;
           money = Math.ceil(money/1000.0) * 1000;
       } {
           money = money + money * 0.05;
           money = Math.ceil(money/1000.0) * 1000;
       } money = money + money * 0.05 money money + money * 0.05 money money * 0.05 money 0.05 money = Math.ceil(money/1000.0) * 1000 money Math.ceil(money/1000.0) * 1000 Math.ceil(money/1000.0) Math.ceil Math money/1000.0 money 1000.0 1000 System.out.printf("%.0f\n", money) System.out.printf System.out System System.out "%.0f\n" money String[] args args
import java.io.*;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Scanner;

class Main {
    public static void main(String[] args) throws IOException {
       Scanner in = new Scanner(System.in);
       int n = in.nextInt();
       double money = 100000;
       for(int i=0;i<n;i++) {
           money = money + money * 0.05;
           money = Math.ceil(money/1000.0) * 1000;
       }
       System.out.printf("%.0f\n", money);
    }
}