import java.io.*;
import java.util.*;
  
public class Main {
  
    public static void main(String[] args)
            throws java.io.IOException{
        Scanner scan = new Scanner(System.in);
 int sum=100000;
 
             for(int n=scan.nextInt();n>0;n--){
sum *=1.05;
int m= up3(sum);
if(m!=0)
sum+=1000-m;
}
System.out.println(sum);
}
public static int up3(int n){
return n%1000;
 
        }
} import java.io.*; io.* java import java.util.*; util.* java public class Main {
  
    public static void main(String[] args)
            throws java.io.IOException{
        Scanner scan = new Scanner(System.in);
 int sum=100000;
 
             for(int n=scan.nextInt();n>0;n--){
sum *=1.05;
int m= up3(sum);
if(m!=0)
sum+=1000-m;
}
System.out.println(sum);
}
public static int up3(int n){
return n%1000;
 
        }
} Main public static void main(String[] args)
            throws java.io.IOException{
        Scanner scan = new Scanner(System.in);
 int sum=100000;
 
             for(int n=scan.nextInt();n>0;n--){
sum *=1.05;
int m= up3(sum);
if(m!=0)
sum+=1000-m;
}
System.out.println(sum);
} main {
        Scanner scan = new Scanner(System.in);
 int sum=100000;
 
             for(int n=scan.nextInt();n>0;n--){
sum *=1.05;
int m= up3(sum);
if(m!=0)
sum+=1000-m;
}
System.out.println(sum);
} Scanner scan = new Scanner(System.in); scan new Scanner(System.in) int sum=100000; sum 100000 for(int n=scan.nextInt();n>0;n--){
sum *=1.05;
int m= up3(sum);
if(m!=0)
sum+=1000-m;
} int n=scan.nextInt(); int n=scan.nextInt(); n scan.nextInt() scan.nextInt scan n>0 n 0 n-- n-- n {
sum *=1.05;
int m= up3(sum);
if(m!=0)
sum+=1000-m;
} {
sum *=1.05;
int m= up3(sum);
if(m!=0)
sum+=1000-m;
} sum *=1.05 sum 1.05 int m= up3(sum); m up3(sum) up3 sum if(m!=0)
sum+=1000-m; m!=0 m 0 sum+=1000-m sum 1000-m 1000 m System.out.println(sum) System.out.println System.out System System.out sum String[] args args public static int up3(int n){
return n%1000;
 
        } up3 {
return n%1000;
 
        } return n%1000; n%1000 n 1000 int n n public class Main {
  
    public static void main(String[] args)
            throws java.io.IOException{
        Scanner scan = new Scanner(System.in);
 int sum=100000;
 
             for(int n=scan.nextInt();n>0;n--){
sum *=1.05;
int m= up3(sum);
if(m!=0)
sum+=1000-m;
}
System.out.println(sum);
}
public static int up3(int n){
return n%1000;
 
        }
} public class Main {
  
    public static void main(String[] args)
            throws java.io.IOException{
        Scanner scan = new Scanner(System.in);
 int sum=100000;
 
             for(int n=scan.nextInt();n>0;n--){
sum *=1.05;
int m= up3(sum);
if(m!=0)
sum+=1000-m;
}
System.out.println(sum);
}
public static int up3(int n){
return n%1000;
 
        }
} Main
import java.io.*;
import java.util.*;
  
public class Main {
  
    public static void main(String[] args)
            throws java.io.IOException{
        Scanner scan = new Scanner(System.in);
 int sum=100000;
 
             for(int n=scan.nextInt();n>0;n--){
sum *=1.05;
int m= up3(sum);
if(m!=0)
sum+=1000-m;
}
System.out.println(sum);
}
public static int up3(int n){
return n%1000;
 
        }
}