public class Main{
  public void run(java.io.InputStream in, java.io.PrintStream out){
    java.util.Scanner sc = new java.util.Scanner(in);
/*answer*/
    int n;
    int i;
    int a = 100000;

    n = sc.nextInt();

    for(i = 0;i < n;i++){
      a *= 1.05;
      if(a % 1000 != 0){
        a /= 1000;
        a *= 1000;
        a += 1000;
      }
    }

    System.out.println(a);

    sc.close();
  }
  public static void main(String[] args){
    (new Main()).run(System.in, System.out);
  }
} public class Main{
  public void run(java.io.InputStream in, java.io.PrintStream out){
    java.util.Scanner sc = new java.util.Scanner(in);
/*answer*/
    int n;
    int i;
    int a = 100000;

    n = sc.nextInt();

    for(i = 0;i < n;i++){
      a *= 1.05;
      if(a % 1000 != 0){
        a /= 1000;
        a *= 1000;
        a += 1000;
      }
    }

    System.out.println(a);

    sc.close();
  }
  public static void main(String[] args){
    (new Main()).run(System.in, System.out);
  }
} Main public void run(java.io.InputStream in, java.io.PrintStream out){
    java.util.Scanner sc = new java.util.Scanner(in);
/*answer*/
    int n;
    int i;
    int a = 100000;

    n = sc.nextInt();

    for(i = 0;i < n;i++){
      a *= 1.05;
      if(a % 1000 != 0){
        a /= 1000;
        a *= 1000;
        a += 1000;
      }
    }

    System.out.println(a);

    sc.close();
  } run {
    java.util.Scanner sc = new java.util.Scanner(in);
/*answer*/
    int n;
    int i;
    int a = 100000;

    n = sc.nextInt();

    for(i = 0;i < n;i++){
      a *= 1.05;
      if(a % 1000 != 0){
        a /= 1000;
        a *= 1000;
        a += 1000;
      }
    }

    System.out.println(a);

    sc.close();
  } java.util.Scanner sc = new java.util.Scanner(in); sc new java.util.Scanner(in) int n; n int i; i int a = 100000; a 100000 n = sc.nextInt() n sc.nextInt() sc.nextInt sc for(i = 0;i < n;i++){
      a *= 1.05;
      if(a % 1000 != 0){
        a /= 1000;
        a *= 1000;
        a += 1000;
      }
    } i = 0; i = 0 i 0 i < n i n i++ i++ i {
      a *= 1.05;
      if(a % 1000 != 0){
        a /= 1000;
        a *= 1000;
        a += 1000;
      }
    } {
      a *= 1.05;
      if(a % 1000 != 0){
        a /= 1000;
        a *= 1000;
        a += 1000;
      }
    } a *= 1.05 a 1.05 if(a % 1000 != 0){
        a /= 1000;
        a *= 1000;
        a += 1000;
      } a % 1000 != 0 a % 1000 a 1000 0 {
        a /= 1000;
        a *= 1000;
        a += 1000;
      } a /= 1000 a 1000 a *= 1000 a 1000 a += 1000 a 1000 System.out.println(a) System.out.println System.out System System.out a sc.close() sc.close sc java.io.InputStream in in java.io.PrintStream out out public static void main(String[] args){
    (new Main()).run(System.in, System.out);
  } main {
    (new Main()).run(System.in, System.out);
  } (new Main()).run(System.in, System.out) (new Main()).run (new Main()) System.in System System.in System.out System System.out String[] args args public class Main{
  public void run(java.io.InputStream in, java.io.PrintStream out){
    java.util.Scanner sc = new java.util.Scanner(in);
/*answer*/
    int n;
    int i;
    int a = 100000;

    n = sc.nextInt();

    for(i = 0;i < n;i++){
      a *= 1.05;
      if(a % 1000 != 0){
        a /= 1000;
        a *= 1000;
        a += 1000;
      }
    }

    System.out.println(a);

    sc.close();
  }
  public static void main(String[] args){
    (new Main()).run(System.in, System.out);
  }
} public class Main{
  public void run(java.io.InputStream in, java.io.PrintStream out){
    java.util.Scanner sc = new java.util.Scanner(in);
/*answer*/
    int n;
    int i;
    int a = 100000;

    n = sc.nextInt();

    for(i = 0;i < n;i++){
      a *= 1.05;
      if(a % 1000 != 0){
        a /= 1000;
        a *= 1000;
        a += 1000;
      }
    }

    System.out.println(a);

    sc.close();
  }
  public static void main(String[] args){
    (new Main()).run(System.in, System.out);
  }
} Main
public class Main{
  public void run(java.io.InputStream in, java.io.PrintStream out){
    java.util.Scanner sc = new java.util.Scanner(in);
/*answer*/
    int n;
    int i;
    int a = 100000;

    n = sc.nextInt();

    for(i = 0;i < n;i++){
      a *= 1.05;
      if(a % 1000 != 0){
        a /= 1000;
        a *= 1000;
        a += 1000;
      }
    }

    System.out.println(a);

    sc.close();
  }
  public static void main(String[] args){
    (new Main()).run(System.in, System.out);
  }
}