import java.util.*;
import java.text.*;
/*
Main class for AOJ where there is no input.
*/
public class Main{
   public static void main(String[] args){
      Scanner sc = new Scanner(System.in);
      int n = Integer.parseInt(sc.nextLine());
      double debt = 100000;
      
      while(n > 0){
         debt *= 1.05;
         debt = 1000.0*Math.ceil(debt/1000.0);
         n--;
      }
      
      System.out.println(String.format("%.0f",debt));
      
   }//main
}//class import java.util.*; util.* java import java.text.*; text.* java public class Main{
   public static void main(String[] args){
      Scanner sc = new Scanner(System.in);
      int n = Integer.parseInt(sc.nextLine());
      double debt = 100000;
      
      while(n > 0){
         debt *= 1.05;
         debt = 1000.0*Math.ceil(debt/1000.0);
         n--;
      }
      
      System.out.println(String.format("%.0f",debt));
      
   }//main
}//class Main public static void main(String[] args){
      Scanner sc = new Scanner(System.in);
      int n = Integer.parseInt(sc.nextLine());
      double debt = 100000;
      
      while(n > 0){
         debt *= 1.05;
         debt = 1000.0*Math.ceil(debt/1000.0);
         n--;
      }
      
      System.out.println(String.format("%.0f",debt));
      
   }//main main {
      Scanner sc = new Scanner(System.in);
      int n = Integer.parseInt(sc.nextLine());
      double debt = 100000;
      
      while(n > 0){
         debt *= 1.05;
         debt = 1000.0*Math.ceil(debt/1000.0);
         n--;
      }
      
      System.out.println(String.format("%.0f",debt));
      
   } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int n = Integer.parseInt(sc.nextLine()); n Integer.parseInt(sc.nextLine()) Integer.parseInt Integer sc.nextLine() sc.nextLine sc double debt = 100000; debt 100000 while(n > 0){
         debt *= 1.05;
         debt = 1000.0*Math.ceil(debt/1000.0);
         n--;
      } n > 0 n 0 {
         debt *= 1.05;
         debt = 1000.0*Math.ceil(debt/1000.0);
         n--;
      } debt *= 1.05 debt 1.05 debt = 1000.0*Math.ceil(debt/1000.0) debt 1000.0*Math.ceil(debt/1000.0) 1000.0 Math.ceil(debt/1000.0) Math.ceil Math debt/1000.0 debt 1000.0 n-- n System.out.println(String.format("%.0f",debt)) System.out.println System.out System System.out String.format("%.0f",debt) String.format String "%.0f" debt String[] args args public class Main{
   public static void main(String[] args){
      Scanner sc = new Scanner(System.in);
      int n = Integer.parseInt(sc.nextLine());
      double debt = 100000;
      
      while(n > 0){
         debt *= 1.05;
         debt = 1000.0*Math.ceil(debt/1000.0);
         n--;
      }
      
      System.out.println(String.format("%.0f",debt));
      
   }//main
}//class public class Main{
   public static void main(String[] args){
      Scanner sc = new Scanner(System.in);
      int n = Integer.parseInt(sc.nextLine());
      double debt = 100000;
      
      while(n > 0){
         debt *= 1.05;
         debt = 1000.0*Math.ceil(debt/1000.0);
         n--;
      }
      
      System.out.println(String.format("%.0f",debt));
      
   }//main
}//class Main
import java.util.*;
import java.text.*;
/*
Main class for AOJ where there is no input.
*/
public class Main{
   public static void main(String[] args){
      Scanner sc = new Scanner(System.in);
      int n = Integer.parseInt(sc.nextLine());
      double debt = 100000;
      
      while(n > 0){
         debt *= 1.05;
         debt = 1000.0*Math.ceil(debt/1000.0);
         n--;
      }
      
      System.out.println(String.format("%.0f",debt));
      
   }//main
}//class