import java.util.*;
public class Main{
    static Scanner kbd = new Scanner(System.in);
    public static void main(String[] args){
	int n = kbd.nextInt();
	int d = 100000;

	while(n>0) {
	    d = (int)(d*1.05);
	    if(d%1000 != 0){
		d = d/1000;
		d++;
		d = d*1000;
	    }
	    n--;
	}

	System.out.println(d);
    }   
} import java.util.*; util.* java public class Main{
    static Scanner kbd = new Scanner(System.in);
    public static void main(String[] args){
	int n = kbd.nextInt();
	int d = 100000;

	while(n>0) {
	    d = (int)(d*1.05);
	    if(d%1000 != 0){
		d = d/1000;
		d++;
		d = d*1000;
	    }
	    n--;
	}

	System.out.println(d);
    }   
} Main static Scanner kbd = new Scanner(System.in); kbd new Scanner(System.in) public static void main(String[] args){
	int n = kbd.nextInt();
	int d = 100000;

	while(n>0) {
	    d = (int)(d*1.05);
	    if(d%1000 != 0){
		d = d/1000;
		d++;
		d = d*1000;
	    }
	    n--;
	}

	System.out.println(d);
    } main {
	int n = kbd.nextInt();
	int d = 100000;

	while(n>0) {
	    d = (int)(d*1.05);
	    if(d%1000 != 0){
		d = d/1000;
		d++;
		d = d*1000;
	    }
	    n--;
	}

	System.out.println(d);
    } int n = kbd.nextInt(); n kbd.nextInt() kbd.nextInt kbd int d = 100000; d 100000 while(n>0) {
	    d = (int)(d*1.05);
	    if(d%1000 != 0){
		d = d/1000;
		d++;
		d = d*1000;
	    }
	    n--;
	} n>0 n 0 {
	    d = (int)(d*1.05);
	    if(d%1000 != 0){
		d = d/1000;
		d++;
		d = d*1000;
	    }
	    n--;
	} d = (int)(d*1.05) d (int)(d*1.05) d 1.05 if(d%1000 != 0){
		d = d/1000;
		d++;
		d = d*1000;
	    } d%1000 != 0 d%1000 d 1000 0 {
		d = d/1000;
		d++;
		d = d*1000;
	    } d = d/1000 d d/1000 d 1000 d++ d d = d*1000 d d*1000 d 1000 n-- n System.out.println(d) System.out.println System.out System System.out d String[] args args public class Main{
    static Scanner kbd = new Scanner(System.in);
    public static void main(String[] args){
	int n = kbd.nextInt();
	int d = 100000;

	while(n>0) {
	    d = (int)(d*1.05);
	    if(d%1000 != 0){
		d = d/1000;
		d++;
		d = d*1000;
	    }
	    n--;
	}

	System.out.println(d);
    }   
} public class Main{
    static Scanner kbd = new Scanner(System.in);
    public static void main(String[] args){
	int n = kbd.nextInt();
	int d = 100000;

	while(n>0) {
	    d = (int)(d*1.05);
	    if(d%1000 != 0){
		d = d/1000;
		d++;
		d = d*1000;
	    }
	    n--;
	}

	System.out.println(d);
    }   
} Main
import java.util.*;
public class Main{
    static Scanner kbd = new Scanner(System.in);
    public static void main(String[] args){
	int n = kbd.nextInt();
	int d = 100000;

	while(n>0) {
	    d = (int)(d*1.05);
	    if(d%1000 != 0){
		d = d/1000;
		d++;
		d = d*1000;
	    }
	    n--;
	}

	System.out.println(d);
    }   
}