import java.io.*;
import java.util.*;
class Main {
    
    public static void main(String[] args) throws IOException {
        BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
        int n=Integer.parseInt(br.readLine());
        long debt=100000;
        for(int i=1;i<=n;i++){
            debt+=(debt/20);
            if(debt%1000!=0){
                debt-=debt%1000;
                debt+=1000;
            }
        }System.out.println(debt);
    }
    
} import java.io.*; io.* java import java.util.*; util.* java class Main {
    
    public static void main(String[] args) throws IOException {
        BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
        int n=Integer.parseInt(br.readLine());
        long debt=100000;
        for(int i=1;i<=n;i++){
            debt+=(debt/20);
            if(debt%1000!=0){
                debt-=debt%1000;
                debt+=1000;
            }
        }System.out.println(debt);
    }
    
} Main public static void main(String[] args) throws IOException {
        BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
        int n=Integer.parseInt(br.readLine());
        long debt=100000;
        for(int i=1;i<=n;i++){
            debt+=(debt/20);
            if(debt%1000!=0){
                debt-=debt%1000;
                debt+=1000;
            }
        }System.out.println(debt);
    } main {
        BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
        int n=Integer.parseInt(br.readLine());
        long debt=100000;
        for(int i=1;i<=n;i++){
            debt+=(debt/20);
            if(debt%1000!=0){
                debt-=debt%1000;
                debt+=1000;
            }
        }System.out.println(debt);
    } BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) int n=Integer.parseInt(br.readLine()); n Integer.parseInt(br.readLine()) Integer.parseInt Integer br.readLine() br.readLine br long debt=100000; debt 100000 for(int i=1;i<=n;i++){
            debt+=(debt/20);
            if(debt%1000!=0){
                debt-=debt%1000;
                debt+=1000;
            }
        } int i=1; int i=1; i 1 i<=n i n i++ i++ i {
            debt+=(debt/20);
            if(debt%1000!=0){
                debt-=debt%1000;
                debt+=1000;
            }
        } {
            debt+=(debt/20);
            if(debt%1000!=0){
                debt-=debt%1000;
                debt+=1000;
            }
        } debt+=(debt/20) debt (debt/20) debt 20 if(debt%1000!=0){
                debt-=debt%1000;
                debt+=1000;
            } debt%1000!=0 debt%1000 debt 1000 0 {
                debt-=debt%1000;
                debt+=1000;
            } debt-=debt%1000 debt debt%1000 debt 1000 debt+=1000 debt 1000 System.out.println(debt) System.out.println System.out System System.out debt String[] args args
import java.io.*;
import java.util.*;
class Main {
    
    public static void main(String[] args) throws IOException {
        BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
        int n=Integer.parseInt(br.readLine());
        long debt=100000;
        for(int i=1;i<=n;i++){
            debt+=(debt/20);
            if(debt%1000!=0){
                debt-=debt%1000;
                debt+=1000;
            }
        }System.out.println(debt);
    }
    
}