import java.util.*;

public class Main{
   public static void main(String[] args) {
	  Scanner sc =new Scanner(System.in);
int n=sc.nextInt();
   int money =100000;
   for(int i=0; i<n; i++){
	   money*=1.05;
   if(money%1000!=0){money+=1000-money%1000;
   }
   }
   System.out.println(money);
   }
   } import java.util.*; util.* java public class Main{
   public static void main(String[] args) {
	  Scanner sc =new Scanner(System.in);
int n=sc.nextInt();
   int money =100000;
   for(int i=0; i<n; i++){
	   money*=1.05;
   if(money%1000!=0){money+=1000-money%1000;
   }
   }
   System.out.println(money);
   }
   } Main public static void main(String[] args) {
	  Scanner sc =new Scanner(System.in);
int n=sc.nextInt();
   int money =100000;
   for(int i=0; i<n; i++){
	   money*=1.05;
   if(money%1000!=0){money+=1000-money%1000;
   }
   }
   System.out.println(money);
   } main {
	  Scanner sc =new Scanner(System.in);
int n=sc.nextInt();
   int money =100000;
   for(int i=0; i<n; i++){
	   money*=1.05;
   if(money%1000!=0){money+=1000-money%1000;
   }
   }
   System.out.println(money);
   } Scanner sc =new Scanner(System.in); sc new Scanner(System.in) int n=sc.nextInt(); n sc.nextInt() sc.nextInt sc int money =100000; money 100000 for(int i=0; i<n; i++){
	   money*=1.05;
   if(money%1000!=0){money+=1000-money%1000;
   }
   } int i=0; int i=0; i 0 i<n i n i++ i++ i {
	   money*=1.05;
   if(money%1000!=0){money+=1000-money%1000;
   }
   } {
	   money*=1.05;
   if(money%1000!=0){money+=1000-money%1000;
   }
   } money*=1.05 money 1.05 if(money%1000!=0){money+=1000-money%1000;
   } money%1000!=0 money%1000 money 1000 0 {money+=1000-money%1000;
   } money+=1000-money%1000 money 1000-money%1000 1000 money%1000 money 1000 System.out.println(money) System.out.println System.out System System.out money String[] args args public class Main{
   public static void main(String[] args) {
	  Scanner sc =new Scanner(System.in);
int n=sc.nextInt();
   int money =100000;
   for(int i=0; i<n; i++){
	   money*=1.05;
   if(money%1000!=0){money+=1000-money%1000;
   }
   }
   System.out.println(money);
   }
   } public class Main{
   public static void main(String[] args) {
	  Scanner sc =new Scanner(System.in);
int n=sc.nextInt();
   int money =100000;
   for(int i=0; i<n; i++){
	   money*=1.05;
   if(money%1000!=0){money+=1000-money%1000;
   }
   }
   System.out.println(money);
   }
   } Main
import java.util.*;

public class Main{
   public static void main(String[] args) {
	  Scanner sc =new Scanner(System.in);
int n=sc.nextInt();
   int money =100000;
   for(int i=0; i<n; i++){
	   money*=1.05;
   if(money%1000!=0){money+=1000-money%1000;
   }
   }
   System.out.println(money);
   }
   }