
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class Main {

  public static void main(String[] args) throws IOException {
    BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
    int money = 100000; //返す金額
    int week = Integer.parseInt(reader.readLine());
    int roundingDigit = 1000; //何円に丸めるか
    
    for (int i = 0; i < week; i++) {
      money *= 1.05;
      money = floor(money, roundingDigit);
    }
    System.out.println(money);
  }

  public static int ceil(int n, int digit) {
    return n - (n % digit == 0 ? 0 : n % digit);
  }
  
  public static int floor(int n, int digit) {
    return n + (n % digit == 0 ? 0 : digit - n % digit);
  }
  
} import java.io.BufferedReader; BufferedReader java.io import java.io.IOException; IOException java.io import java.io.InputStreamReader; InputStreamReader java.io public class Main {

  public static void main(String[] args) throws IOException {
    BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
    int money = 100000; //返す金額
    int week = Integer.parseInt(reader.readLine());
    int roundingDigit = 1000; //何円に丸めるか
    
    for (int i = 0; i < week; i++) {
      money *= 1.05;
      money = floor(money, roundingDigit);
    }
    System.out.println(money);
  }

  public static int ceil(int n, int digit) {
    return n - (n % digit == 0 ? 0 : n % digit);
  }
  
  public static int floor(int n, int digit) {
    return n + (n % digit == 0 ? 0 : digit - n % digit);
  }
  
} Main public static void main(String[] args) throws IOException {
    BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
    int money = 100000; //返す金額
    int week = Integer.parseInt(reader.readLine());
    int roundingDigit = 1000; //何円に丸めるか
    
    for (int i = 0; i < week; i++) {
      money *= 1.05;
      money = floor(money, roundingDigit);
    }
    System.out.println(money);
  } main {
    BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
    int money = 100000; //返す金額
    int week = Integer.parseInt(reader.readLine());
    int roundingDigit = 1000; //何円に丸めるか
    
    for (int i = 0; i < week; i++) {
      money *= 1.05;
      money = floor(money, roundingDigit);
    }
    System.out.println(money);
  } BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); reader new BufferedReader(new InputStreamReader(System.in)) int money = 100000; money 100000 int week = Integer.parseInt(reader.readLine()); week Integer.parseInt(reader.readLine()) Integer.parseInt Integer reader.readLine() reader.readLine reader int roundingDigit = 1000; roundingDigit 1000 for (int i = 0; i < week; i++) {
      money *= 1.05;
      money = floor(money, roundingDigit);
    } int i = 0; int i = 0; i 0 i < week i week i++ i++ i {
      money *= 1.05;
      money = floor(money, roundingDigit);
    } {
      money *= 1.05;
      money = floor(money, roundingDigit);
    } money *= 1.05 money 1.05 money = floor(money, roundingDigit) money floor(money, roundingDigit) floor money roundingDigit System.out.println(money) System.out.println System.out System System.out money String[] args args public static int ceil(int n, int digit) {
    return n - (n % digit == 0 ? 0 : n % digit);
  } ceil {
    return n - (n % digit == 0 ? 0 : n % digit);
  } return n - (n % digit == 0 ? 0 : n % digit); n - (n % digit == 0 ? 0 : n % digit) n (n % digit == 0 ? 0 : n % digit) n % digit == 0 n % digit n digit 0 0 n % digit n digit int n n int digit digit public static int floor(int n, int digit) {
    return n + (n % digit == 0 ? 0 : digit - n % digit);
  } floor {
    return n + (n % digit == 0 ? 0 : digit - n % digit);
  } return n + (n % digit == 0 ? 0 : digit - n % digit); n + (n % digit == 0 ? 0 : digit - n % digit) n (n % digit == 0 ? 0 : digit - n % digit) n % digit == 0 n % digit n digit 0 0 digit - n % digit digit n % digit n digit int n n int digit digit public class Main {

  public static void main(String[] args) throws IOException {
    BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
    int money = 100000; //返す金額
    int week = Integer.parseInt(reader.readLine());
    int roundingDigit = 1000; //何円に丸めるか
    
    for (int i = 0; i < week; i++) {
      money *= 1.05;
      money = floor(money, roundingDigit);
    }
    System.out.println(money);
  }

  public static int ceil(int n, int digit) {
    return n - (n % digit == 0 ? 0 : n % digit);
  }
  
  public static int floor(int n, int digit) {
    return n + (n % digit == 0 ? 0 : digit - n % digit);
  }
  
} public class Main {

  public static void main(String[] args) throws IOException {
    BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
    int money = 100000; //返す金額
    int week = Integer.parseInt(reader.readLine());
    int roundingDigit = 1000; //何円に丸めるか
    
    for (int i = 0; i < week; i++) {
      money *= 1.05;
      money = floor(money, roundingDigit);
    }
    System.out.println(money);
  }

  public static int ceil(int n, int digit) {
    return n - (n % digit == 0 ? 0 : n % digit);
  }
  
  public static int floor(int n, int digit) {
    return n + (n % digit == 0 ? 0 : digit - n % digit);
  }
  
} Main

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class Main {

  public static void main(String[] args) throws IOException {
    BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
    int money = 100000; //返す金額
    int week = Integer.parseInt(reader.readLine());
    int roundingDigit = 1000; //何円に丸めるか
    
    for (int i = 0; i < week; i++) {
      money *= 1.05;
      money = floor(money, roundingDigit);
    }
    System.out.println(money);
  }

  public static int ceil(int n, int digit) {
    return n - (n % digit == 0 ? 0 : n % digit);
  }
  
  public static int floor(int n, int digit) {
    return n + (n % digit == 0 ? 0 : digit - n % digit);
  }
  
}