import java.util.*;

class Main {
  public static void main (String[] args) {
    Scanner scanner = new Scanner(System.in);
    double s = 100;

    while (scanner.hasNext()) {
      int w = scanner.nextInt();
      for (int ii = 0; ii < w; ii++) {
        s = Math.ceil(s * 1.05);
      }
      System.out.println((int)(s * 1000));
    }
  }
} import java.util.*; util.* java class Main {
  public static void main (String[] args) {
    Scanner scanner = new Scanner(System.in);
    double s = 100;

    while (scanner.hasNext()) {
      int w = scanner.nextInt();
      for (int ii = 0; ii < w; ii++) {
        s = Math.ceil(s * 1.05);
      }
      System.out.println((int)(s * 1000));
    }
  }
} Main public static void main (String[] args) {
    Scanner scanner = new Scanner(System.in);
    double s = 100;

    while (scanner.hasNext()) {
      int w = scanner.nextInt();
      for (int ii = 0; ii < w; ii++) {
        s = Math.ceil(s * 1.05);
      }
      System.out.println((int)(s * 1000));
    }
  } main {
    Scanner scanner = new Scanner(System.in);
    double s = 100;

    while (scanner.hasNext()) {
      int w = scanner.nextInt();
      for (int ii = 0; ii < w; ii++) {
        s = Math.ceil(s * 1.05);
      }
      System.out.println((int)(s * 1000));
    }
  } Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) double s = 100; s 100 while (scanner.hasNext()) {
      int w = scanner.nextInt();
      for (int ii = 0; ii < w; ii++) {
        s = Math.ceil(s * 1.05);
      }
      System.out.println((int)(s * 1000));
    } scanner.hasNext() scanner.hasNext scanner {
      int w = scanner.nextInt();
      for (int ii = 0; ii < w; ii++) {
        s = Math.ceil(s * 1.05);
      }
      System.out.println((int)(s * 1000));
    } int w = scanner.nextInt(); w scanner.nextInt() scanner.nextInt scanner for (int ii = 0; ii < w; ii++) {
        s = Math.ceil(s * 1.05);
      } int ii = 0; int ii = 0; ii 0 ii < w ii w ii++ ii++ ii {
        s = Math.ceil(s * 1.05);
      } {
        s = Math.ceil(s * 1.05);
      } s = Math.ceil(s * 1.05) s Math.ceil(s * 1.05) Math.ceil Math s * 1.05 s 1.05 System.out.println((int)(s * 1000)) System.out.println System.out System System.out (int)(s * 1000) s 1000 String[] args args
import java.util.*;

class Main {
  public static void main (String[] args) {
    Scanner scanner = new Scanner(System.in);
    double s = 100;

    while (scanner.hasNext()) {
      int w = scanner.nextInt();
      for (int ii = 0; ii < w; ii++) {
        s = Math.ceil(s * 1.05);
      }
      System.out.println((int)(s * 1000));
    }
  }
}