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

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());
    double sum = 100000;

    for (int i = 0;i < n; i++) {
      sum = (1000 * Math.ceil((sum * 1.05) * 0.001));
    }

    System.out.println((int)sum);
  }
} import java.io.InputStreamReader; InputStreamReader java.io import java.io.BufferedReader; BufferedReader java.io import java.io.IOException; IOException java.io 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());
    double sum = 100000;

    for (int i = 0;i < n; i++) {
      sum = (1000 * Math.ceil((sum * 1.05) * 0.001));
    }

    System.out.println((int)sum);
  }
} Main public static void main(String args[] ) throws IOException {
    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    int n = Integer.parseInt(br.readLine());
    double sum = 100000;

    for (int i = 0;i < n; i++) {
      sum = (1000 * Math.ceil((sum * 1.05) * 0.001));
    }

    System.out.println((int)sum);
  } main {
    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    int n = Integer.parseInt(br.readLine());
    double sum = 100000;

    for (int i = 0;i < n; i++) {
      sum = (1000 * Math.ceil((sum * 1.05) * 0.001));
    }

    System.out.println((int)sum);
  } 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 double sum = 100000; sum 100000 for (int i = 0;i < n; i++) {
      sum = (1000 * Math.ceil((sum * 1.05) * 0.001));
    } int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
      sum = (1000 * Math.ceil((sum * 1.05) * 0.001));
    } {
      sum = (1000 * Math.ceil((sum * 1.05) * 0.001));
    } sum = (1000 * Math.ceil((sum * 1.05) * 0.001)) sum (1000 * Math.ceil((sum * 1.05) * 0.001)) 1000 Math.ceil((sum * 1.05) * 0.001) Math.ceil Math (sum * 1.05) * 0.001 (sum * 1.05) sum 1.05 0.001 System.out.println((int)sum) System.out.println System.out System System.out (int)sum 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());
    double sum = 100000;

    for (int i = 0;i < n; i++) {
      sum = (1000 * Math.ceil((sum * 1.05) * 0.001));
    }

    System.out.println((int)sum);
  }
} 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());
    double sum = 100000;

    for (int i = 0;i < n; i++) {
      sum = (1000 * Math.ceil((sum * 1.05) * 0.001));
    }

    System.out.println((int)sum);
  }
} Main
import java.io.InputStreamReader;
import java.io.BufferedReader;
import java.io.IOException;

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());
    double sum = 100000;

    for (int i = 0;i < n; i++) {
      sum = (1000 * Math.ceil((sum * 1.05) * 0.001));
    }

    System.out.println((int)sum);
  }
}