import java.util.Scanner;
class Main{
    public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    int n=sc.nextInt();
    int debt=100;
    
    
    
    for(int i=1; i<=n; i++){
    
    debt=(int)Math.ceil(debt*1.05);
    
    }
    
    System.out.println(debt*1000);
    
   }
   }
     import java.util.Scanner; Scanner java.util class Main{
    public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    int n=sc.nextInt();
    int debt=100;
    
    
    
    for(int i=1; i<=n; i++){
    
    debt=(int)Math.ceil(debt*1.05);
    
    }
    
    System.out.println(debt*1000);
    
   }
   } Main public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    int n=sc.nextInt();
    int debt=100;
    
    
    
    for(int i=1; i<=n; i++){
    
    debt=(int)Math.ceil(debt*1.05);
    
    }
    
    System.out.println(debt*1000);
    
   } main {
    Scanner sc = new Scanner(System.in);
    int n=sc.nextInt();
    int debt=100;
    
    
    
    for(int i=1; i<=n; i++){
    
    debt=(int)Math.ceil(debt*1.05);
    
    }
    
    System.out.println(debt*1000);
    
   } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int n=sc.nextInt(); n sc.nextInt() sc.nextInt sc int debt=100; debt 100 for(int i=1; i<=n; i++){
    
    debt=(int)Math.ceil(debt*1.05);
    
    } int i=1; int i=1; i 1 i<=n i n i++ i++ i {
    
    debt=(int)Math.ceil(debt*1.05);
    
    } {
    
    debt=(int)Math.ceil(debt*1.05);
    
    } debt=(int)Math.ceil(debt*1.05) debt (int)Math.ceil(debt*1.05) Math.ceil Math debt*1.05 debt 1.05 System.out.println(debt*1000) System.out.println System.out System System.out debt*1000 debt 1000 String[] args args
import java.util.Scanner;
class Main{
    public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    int n=sc.nextInt();
    int debt=100;
    
    
    
    for(int i=1; i<=n; i++){
    
    debt=(int)Math.ceil(debt*1.05);
    
    }
    
    System.out.println(debt*1000);
    
   }
   }
    