import java.util.*;
import java.io.*;
class Main{
    public static void main(String[] args){
	try{
	    BufferedReader s = new BufferedReader(new InputStreamReader(System.in));
	    int x = 100000, n = Integer.valueOf(s.readLine());
	    for(int i=0; i<n; i++){
		x+=0.05*x;
		if(x%1000!=0)
		    x=1000*(x/1000+1);
	    }
	    System.out.println(x);
	}catch(Exception e){
	    System.out.println("Error");
	}
    }
} import java.util.*; util.* java import java.io.*; io.* java class Main{
    public static void main(String[] args){
	try{
	    BufferedReader s = new BufferedReader(new InputStreamReader(System.in));
	    int x = 100000, n = Integer.valueOf(s.readLine());
	    for(int i=0; i<n; i++){
		x+=0.05*x;
		if(x%1000!=0)
		    x=1000*(x/1000+1);
	    }
	    System.out.println(x);
	}catch(Exception e){
	    System.out.println("Error");
	}
    }
} Main public static void main(String[] args){
	try{
	    BufferedReader s = new BufferedReader(new InputStreamReader(System.in));
	    int x = 100000, n = Integer.valueOf(s.readLine());
	    for(int i=0; i<n; i++){
		x+=0.05*x;
		if(x%1000!=0)
		    x=1000*(x/1000+1);
	    }
	    System.out.println(x);
	}catch(Exception e){
	    System.out.println("Error");
	}
    } main {
	try{
	    BufferedReader s = new BufferedReader(new InputStreamReader(System.in));
	    int x = 100000, n = Integer.valueOf(s.readLine());
	    for(int i=0; i<n; i++){
		x+=0.05*x;
		if(x%1000!=0)
		    x=1000*(x/1000+1);
	    }
	    System.out.println(x);
	}catch(Exception e){
	    System.out.println("Error");
	}
    } try{
	    BufferedReader s = new BufferedReader(new InputStreamReader(System.in));
	    int x = 100000, n = Integer.valueOf(s.readLine());
	    for(int i=0; i<n; i++){
		x+=0.05*x;
		if(x%1000!=0)
		    x=1000*(x/1000+1);
	    }
	    System.out.println(x);
	}catch(Exception e){
	    System.out.println("Error");
	} catch(Exception e){
	    System.out.println("Error");
	} Exception e {
	    System.out.println("Error");
	} System.out.println("Error") System.out.println System.out System System.out "Error" {
	    BufferedReader s = new BufferedReader(new InputStreamReader(System.in));
	    int x = 100000, n = Integer.valueOf(s.readLine());
	    for(int i=0; i<n; i++){
		x+=0.05*x;
		if(x%1000!=0)
		    x=1000*(x/1000+1);
	    }
	    System.out.println(x);
	} BufferedReader s = new BufferedReader(new InputStreamReader(System.in)); s new BufferedReader(new InputStreamReader(System.in)) int x = 100000 x 100000 n = Integer.valueOf(s.readLine()); n Integer.valueOf(s.readLine()) Integer.valueOf Integer s.readLine() s.readLine s for(int i=0; i<n; i++){
		x+=0.05*x;
		if(x%1000!=0)
		    x=1000*(x/1000+1);
	    } int i=0; int i=0; i 0 i<n i n i++ i++ i {
		x+=0.05*x;
		if(x%1000!=0)
		    x=1000*(x/1000+1);
	    } {
		x+=0.05*x;
		if(x%1000!=0)
		    x=1000*(x/1000+1);
	    } x+=0.05*x x 0.05*x 0.05 x if(x%1000!=0)
		    x=1000*(x/1000+1); x%1000!=0 x%1000 x 1000 0 x=1000*(x/1000+1) x 1000*(x/1000+1) 1000 (x/1000+1) x/1000 x 1000 1 System.out.println(x) System.out.println System.out System System.out x String[] args args
import java.util.*;
import java.io.*;
class Main{
    public static void main(String[] args){
	try{
	    BufferedReader s = new BufferedReader(new InputStreamReader(System.in));
	    int x = 100000, n = Integer.valueOf(s.readLine());
	    for(int i=0; i<n; i++){
		x+=0.05*x;
		if(x%1000!=0)
		    x=1000*(x/1000+1);
	    }
	    System.out.println(x);
	}catch(Exception e){
	    System.out.println("Error");
	}
    }
}