import java.util.Scanner;


class Main{
  public static void main(String[] args){

    double debt = 100000;
    double mo = 0.05;
    int turm = new Scanner(System.in).nextInt();
    while(turm>0){
      debt = debt*1.05;
      debt = Math.ceil(debt/1000)*1000;
      turm--;
    }
    System.out.println((int)debt);

  }
} import java.util.Scanner; Scanner java.util class Main{
  public static void main(String[] args){

    double debt = 100000;
    double mo = 0.05;
    int turm = new Scanner(System.in).nextInt();
    while(turm>0){
      debt = debt*1.05;
      debt = Math.ceil(debt/1000)*1000;
      turm--;
    }
    System.out.println((int)debt);

  }
} Main public static void main(String[] args){

    double debt = 100000;
    double mo = 0.05;
    int turm = new Scanner(System.in).nextInt();
    while(turm>0){
      debt = debt*1.05;
      debt = Math.ceil(debt/1000)*1000;
      turm--;
    }
    System.out.println((int)debt);

  } main {

    double debt = 100000;
    double mo = 0.05;
    int turm = new Scanner(System.in).nextInt();
    while(turm>0){
      debt = debt*1.05;
      debt = Math.ceil(debt/1000)*1000;
      turm--;
    }
    System.out.println((int)debt);

  } double debt = 100000; debt 100000 double mo = 0.05; mo 0.05 int turm = new Scanner(System.in).nextInt(); turm new Scanner(System.in).nextInt() new Scanner(System.in).nextInt new Scanner(System.in) while(turm>0){
      debt = debt*1.05;
      debt = Math.ceil(debt/1000)*1000;
      turm--;
    } turm>0 turm 0 {
      debt = debt*1.05;
      debt = Math.ceil(debt/1000)*1000;
      turm--;
    } debt = debt*1.05 debt debt*1.05 debt 1.05 debt = Math.ceil(debt/1000)*1000 debt Math.ceil(debt/1000)*1000 Math.ceil(debt/1000) Math.ceil Math debt/1000 debt 1000 1000 turm-- turm 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){

    double debt = 100000;
    double mo = 0.05;
    int turm = new Scanner(System.in).nextInt();
    while(turm>0){
      debt = debt*1.05;
      debt = Math.ceil(debt/1000)*1000;
      turm--;
    }
    System.out.println((int)debt);

  }
}