import java.util.Scanner;
class Main{
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    double debt = 100000;
    debt *= 0.001;
    while(sc.hasNext()) {
      int n = sc.nextInt();
      for (int i = 0; i < n; i++) {
        debt *= 1.05;
        debt  = Math.ceil(debt);
      }
      System.out.println((int)debt*1000);
    }
  }
} import java.util.Scanner; Scanner java.util class Main{
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    double debt = 100000;
    debt *= 0.001;
    while(sc.hasNext()) {
      int n = sc.nextInt();
      for (int i = 0; i < n; i++) {
        debt *= 1.05;
        debt  = Math.ceil(debt);
      }
      System.out.println((int)debt*1000);
    }
  }
} Main public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    double debt = 100000;
    debt *= 0.001;
    while(sc.hasNext()) {
      int n = sc.nextInt();
      for (int i = 0; i < n; i++) {
        debt *= 1.05;
        debt  = Math.ceil(debt);
      }
      System.out.println((int)debt*1000);
    }
  } main {
    Scanner sc = new Scanner(System.in);
    double debt = 100000;
    debt *= 0.001;
    while(sc.hasNext()) {
      int n = sc.nextInt();
      for (int i = 0; i < n; i++) {
        debt *= 1.05;
        debt  = Math.ceil(debt);
      }
      System.out.println((int)debt*1000);
    }
  } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) double debt = 100000; debt 100000 debt *= 0.001 debt 0.001 while(sc.hasNext()) {
      int n = sc.nextInt();
      for (int i = 0; i < n; i++) {
        debt *= 1.05;
        debt  = Math.ceil(debt);
      }
      System.out.println((int)debt*1000);
    } sc.hasNext() sc.hasNext sc {
      int n = sc.nextInt();
      for (int i = 0; i < n; i++) {
        debt *= 1.05;
        debt  = Math.ceil(debt);
      }
      System.out.println((int)debt*1000);
    } int n = sc.nextInt(); n sc.nextInt() sc.nextInt sc for (int i = 0; i < n; i++) {
        debt *= 1.05;
        debt  = Math.ceil(debt);
      } int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
        debt *= 1.05;
        debt  = Math.ceil(debt);
      } {
        debt *= 1.05;
        debt  = Math.ceil(debt);
      } debt *= 1.05 debt 1.05 debt  = Math.ceil(debt) debt Math.ceil(debt) Math.ceil Math debt System.out.println((int)debt*1000) System.out.println System.out System System.out (int)debt*1000 (int)debt 1000 String[] args args
import java.util.Scanner;
class Main{
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    double debt = 100000;
    debt *= 0.001;
    while(sc.hasNext()) {
      int n = sc.nextInt();
      for (int i = 0; i < n; i++) {
        debt *= 1.05;
        debt  = Math.ceil(debt);
      }
      System.out.println((int)debt*1000);
    }
  }
}