import java.util.Scanner;

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

class Main {
  public static void main(String[] args) {
    Scanner s = new Scanner(System.in);
    int n = s.nextInt();
    double debt = 100000;
    for (int i = 1; i <= n; i++) {
      debt = (debt * 1.05) / 1000;
      debt = Math.ceil(debt) * 1000;
    }
    System.out.println((int)debt);
  }
}