import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.math.BigDecimal;
import java.math.RoundingMode;
public class Main {

  public static void main( String[] args ) throws IOException {
    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    int n = Integer.parseInt(br.readLine());
    BigDecimal cost = new BigDecimal(100000);
    BigDecimal thousand = new BigDecimal("1000");
    
    for (int i = 0; i < n; i++) {
      cost = cost.add(cost.multiply(new BigDecimal(0.05))).setScale(0, RoundingMode.FLOOR);
      cost = cost.divide(thousand)
              .setScale(0, RoundingMode.CEILING)
              .multiply(thousand);
    }
    System.out.println(cost);
  }
} import java.io.BufferedReader; BufferedReader java.io import java.io.IOException; IOException java.io import java.io.InputStreamReader; InputStreamReader java.io import java.math.BigDecimal; BigDecimal java.math import java.math.RoundingMode; RoundingMode java.math public class Main {

  public static void main( String[] args ) throws IOException {
    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    int n = Integer.parseInt(br.readLine());
    BigDecimal cost = new BigDecimal(100000);
    BigDecimal thousand = new BigDecimal("1000");
    
    for (int i = 0; i < n; i++) {
      cost = cost.add(cost.multiply(new BigDecimal(0.05))).setScale(0, RoundingMode.FLOOR);
      cost = cost.divide(thousand)
              .setScale(0, RoundingMode.CEILING)
              .multiply(thousand);
    }
    System.out.println(cost);
  }
} Main public static void main( String[] args ) throws IOException {
    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    int n = Integer.parseInt(br.readLine());
    BigDecimal cost = new BigDecimal(100000);
    BigDecimal thousand = new BigDecimal("1000");
    
    for (int i = 0; i < n; i++) {
      cost = cost.add(cost.multiply(new BigDecimal(0.05))).setScale(0, RoundingMode.FLOOR);
      cost = cost.divide(thousand)
              .setScale(0, RoundingMode.CEILING)
              .multiply(thousand);
    }
    System.out.println(cost);
  } main {
    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    int n = Integer.parseInt(br.readLine());
    BigDecimal cost = new BigDecimal(100000);
    BigDecimal thousand = new BigDecimal("1000");
    
    for (int i = 0; i < n; i++) {
      cost = cost.add(cost.multiply(new BigDecimal(0.05))).setScale(0, RoundingMode.FLOOR);
      cost = cost.divide(thousand)
              .setScale(0, RoundingMode.CEILING)
              .multiply(thousand);
    }
    System.out.println(cost);
  } BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) int n = Integer.parseInt(br.readLine()); n Integer.parseInt(br.readLine()) Integer.parseInt Integer br.readLine() br.readLine br BigDecimal cost = new BigDecimal(100000); cost new BigDecimal(100000) BigDecimal thousand = new BigDecimal("1000"); thousand new BigDecimal("1000") for (int i = 0; i < n; i++) {
      cost = cost.add(cost.multiply(new BigDecimal(0.05))).setScale(0, RoundingMode.FLOOR);
      cost = cost.divide(thousand)
              .setScale(0, RoundingMode.CEILING)
              .multiply(thousand);
    } int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
      cost = cost.add(cost.multiply(new BigDecimal(0.05))).setScale(0, RoundingMode.FLOOR);
      cost = cost.divide(thousand)
              .setScale(0, RoundingMode.CEILING)
              .multiply(thousand);
    } {
      cost = cost.add(cost.multiply(new BigDecimal(0.05))).setScale(0, RoundingMode.FLOOR);
      cost = cost.divide(thousand)
              .setScale(0, RoundingMode.CEILING)
              .multiply(thousand);
    } cost = cost.add(cost.multiply(new BigDecimal(0.05))).setScale(0, RoundingMode.FLOOR) cost cost.add(cost.multiply(new BigDecimal(0.05))).setScale(0, RoundingMode.FLOOR) cost.add(cost.multiply(new BigDecimal(0.05))).setScale cost.add(cost.multiply(new BigDecimal(0.05))) cost.add cost cost.multiply(new BigDecimal(0.05)) cost.multiply cost new BigDecimal(0.05) 0 RoundingMode.FLOOR RoundingMode RoundingMode.FLOOR cost = cost.divide(thousand)
              .setScale(0, RoundingMode.CEILING)
              .multiply(thousand) cost cost.divide(thousand)
              .setScale(0, RoundingMode.CEILING)
              .multiply(thousand) cost.divide(thousand)
              .setScale(0, RoundingMode.CEILING)
              .multiply cost.divide(thousand)
              .setScale(0, RoundingMode.CEILING) cost.divide(thousand)
              .setScale cost.divide(thousand) cost.divide cost thousand 0 RoundingMode.CEILING RoundingMode RoundingMode.CEILING thousand System.out.println(cost) System.out.println System.out System System.out cost String[] args args public class Main {

  public static void main( String[] args ) throws IOException {
    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    int n = Integer.parseInt(br.readLine());
    BigDecimal cost = new BigDecimal(100000);
    BigDecimal thousand = new BigDecimal("1000");
    
    for (int i = 0; i < n; i++) {
      cost = cost.add(cost.multiply(new BigDecimal(0.05))).setScale(0, RoundingMode.FLOOR);
      cost = cost.divide(thousand)
              .setScale(0, RoundingMode.CEILING)
              .multiply(thousand);
    }
    System.out.println(cost);
  }
} public class Main {

  public static void main( String[] args ) throws IOException {
    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    int n = Integer.parseInt(br.readLine());
    BigDecimal cost = new BigDecimal(100000);
    BigDecimal thousand = new BigDecimal("1000");
    
    for (int i = 0; i < n; i++) {
      cost = cost.add(cost.multiply(new BigDecimal(0.05))).setScale(0, RoundingMode.FLOOR);
      cost = cost.divide(thousand)
              .setScale(0, RoundingMode.CEILING)
              .multiply(thousand);
    }
    System.out.println(cost);
  }
} Main
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.math.BigDecimal;
import java.math.RoundingMode;
public class Main {

  public static void main( String[] args ) throws IOException {
    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    int n = Integer.parseInt(br.readLine());
    BigDecimal cost = new BigDecimal(100000);
    BigDecimal thousand = new BigDecimal("1000");
    
    for (int i = 0; i < n; i++) {
      cost = cost.add(cost.multiply(new BigDecimal(0.05))).setScale(0, RoundingMode.FLOOR);
      cost = cost.divide(thousand)
              .setScale(0, RoundingMode.CEILING)
              .multiply(thousand);
    }
    System.out.println(cost);
  }
}