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