import java.util.Scanner;

class Main {
  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    int n = sc.nextInt();
    double debt = 100000;
    for(int i=0; i<n; i++) {
      debt *= 1.05;
      if(debt % 1000 != 0) {
        debt = (Math.floor(debt/1000)+1)*1000;
      }
      else {
        debt = Math.floor(debt);  
      } 
    }    
    System.out.println((int)debt);
  }
} import java.util.Scanner; Scanner java.util class Main {
  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    int n = sc.nextInt();
    double debt = 100000;
    for(int i=0; i<n; i++) {
      debt *= 1.05;
      if(debt % 1000 != 0) {
        debt = (Math.floor(debt/1000)+1)*1000;
      }
      else {
        debt = Math.floor(debt);  
      } 
    }    
    System.out.println((int)debt);
  }
} Main public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    int n = sc.nextInt();
    double debt = 100000;
    for(int i=0; i<n; i++) {
      debt *= 1.05;
      if(debt % 1000 != 0) {
        debt = (Math.floor(debt/1000)+1)*1000;
      }
      else {
        debt = Math.floor(debt);  
      } 
    }    
    System.out.println((int)debt);
  } main {
    Scanner sc = new Scanner(System.in);
    int n = sc.nextInt();
    double debt = 100000;
    for(int i=0; i<n; i++) {
      debt *= 1.05;
      if(debt % 1000 != 0) {
        debt = (Math.floor(debt/1000)+1)*1000;
      }
      else {
        debt = Math.floor(debt);  
      } 
    }    
    System.out.println((int)debt);
  } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int n = sc.nextInt(); n sc.nextInt() sc.nextInt sc double debt = 100000; debt 100000 for(int i=0; i<n; i++) {
      debt *= 1.05;
      if(debt % 1000 != 0) {
        debt = (Math.floor(debt/1000)+1)*1000;
      }
      else {
        debt = Math.floor(debt);  
      } 
    } int i=0; int i=0; i 0 i<n i n i++ i++ i {
      debt *= 1.05;
      if(debt % 1000 != 0) {
        debt = (Math.floor(debt/1000)+1)*1000;
      }
      else {
        debt = Math.floor(debt);  
      } 
    } {
      debt *= 1.05;
      if(debt % 1000 != 0) {
        debt = (Math.floor(debt/1000)+1)*1000;
      }
      else {
        debt = Math.floor(debt);  
      } 
    } debt *= 1.05 debt 1.05 if(debt % 1000 != 0) {
        debt = (Math.floor(debt/1000)+1)*1000;
      }
      else {
        debt = Math.floor(debt);  
      } debt % 1000 != 0 debt % 1000 debt 1000 0 {
        debt = (Math.floor(debt/1000)+1)*1000;
      } debt = (Math.floor(debt/1000)+1)*1000 debt (Math.floor(debt/1000)+1)*1000 (Math.floor(debt/1000)+1) Math.floor(debt/1000) Math.floor Math debt/1000 debt 1000 1 1000 {
        debt = Math.floor(debt);  
      } debt = Math.floor(debt) debt Math.floor(debt) Math.floor Math debt 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 sc = new Scanner(System.in);
    int n = sc.nextInt();
    double debt = 100000;
    for(int i=0; i<n; i++) {
      debt *= 1.05;
      if(debt % 1000 != 0) {
        debt = (Math.floor(debt/1000)+1)*1000;
      }
      else {
        debt = Math.floor(debt);  
      } 
    }    
    System.out.println((int)debt);
  }
}