import java.util.*;
import java.lang.*;
import java.math.*;


public class Main {
	
	Scanner sc = new Scanner(System.in);
	
	void run() {
		
		int n = sc.nextInt();
		int b = 100;
		
		for (int i=0;i<n;i++) {
			
			if ( (double)(b*0.05) - (int)(b*0.05) > 0 )
				b = (int)( b * 1.05 ) + 1;
			else 
				b = (int)( b * 1.05 );
			
		}
		
		System.out.println(b*1000);
		
	}
	
	public static void main(String[] args) {
		
		new Main().run();
		
	}
	
} import java.util.*; util.* java import java.lang.*; lang.* java import java.math.*; math.* java public class Main {
	
	Scanner sc = new Scanner(System.in);
	
	void run() {
		
		int n = sc.nextInt();
		int b = 100;
		
		for (int i=0;i<n;i++) {
			
			if ( (double)(b*0.05) - (int)(b*0.05) > 0 )
				b = (int)( b * 1.05 ) + 1;
			else 
				b = (int)( b * 1.05 );
			
		}
		
		System.out.println(b*1000);
		
	}
	
	public static void main(String[] args) {
		
		new Main().run();
		
	}
	
} Main Scanner sc = new Scanner(System.in); sc new Scanner(System.in) void run() {
		
		int n = sc.nextInt();
		int b = 100;
		
		for (int i=0;i<n;i++) {
			
			if ( (double)(b*0.05) - (int)(b*0.05) > 0 )
				b = (int)( b * 1.05 ) + 1;
			else 
				b = (int)( b * 1.05 );
			
		}
		
		System.out.println(b*1000);
		
	} run {
		
		int n = sc.nextInt();
		int b = 100;
		
		for (int i=0;i<n;i++) {
			
			if ( (double)(b*0.05) - (int)(b*0.05) > 0 )
				b = (int)( b * 1.05 ) + 1;
			else 
				b = (int)( b * 1.05 );
			
		}
		
		System.out.println(b*1000);
		
	} int n = sc.nextInt(); n sc.nextInt() sc.nextInt sc int b = 100; b 100 for (int i=0;i<n;i++) {
			
			if ( (double)(b*0.05) - (int)(b*0.05) > 0 )
				b = (int)( b * 1.05 ) + 1;
			else 
				b = (int)( b * 1.05 );
			
		} int i=0; int i=0; i 0 i<n i n i++ i++ i {
			
			if ( (double)(b*0.05) - (int)(b*0.05) > 0 )
				b = (int)( b * 1.05 ) + 1;
			else 
				b = (int)( b * 1.05 );
			
		} {
			
			if ( (double)(b*0.05) - (int)(b*0.05) > 0 )
				b = (int)( b * 1.05 ) + 1;
			else 
				b = (int)( b * 1.05 );
			
		} if ( (double)(b*0.05) - (int)(b*0.05) > 0 )
				b = (int)( b * 1.05 ) + 1;
			else 
				b = (int)( b * 1.05 ); (double)(b*0.05) - (int)(b*0.05) > 0 (double)(b*0.05) - (int)(b*0.05) (double)(b*0.05) b 0.05 (int)(b*0.05) b 0.05 0 b = (int)( b * 1.05 ) + 1 b (int)( b * 1.05 ) + 1 (int)( b * 1.05 ) b 1.05 1 b = (int)( b * 1.05 ) b (int)( b * 1.05 ) b 1.05 System.out.println(b*1000) System.out.println System.out System System.out b*1000 b 1000 public static void main(String[] args) {
		
		new Main().run();
		
	} main {
		
		new Main().run();
		
	} new Main().run() new Main().run new Main() String[] args args public class Main {
	
	Scanner sc = new Scanner(System.in);
	
	void run() {
		
		int n = sc.nextInt();
		int b = 100;
		
		for (int i=0;i<n;i++) {
			
			if ( (double)(b*0.05) - (int)(b*0.05) > 0 )
				b = (int)( b * 1.05 ) + 1;
			else 
				b = (int)( b * 1.05 );
			
		}
		
		System.out.println(b*1000);
		
	}
	
	public static void main(String[] args) {
		
		new Main().run();
		
	}
	
} public class Main {
	
	Scanner sc = new Scanner(System.in);
	
	void run() {
		
		int n = sc.nextInt();
		int b = 100;
		
		for (int i=0;i<n;i++) {
			
			if ( (double)(b*0.05) - (int)(b*0.05) > 0 )
				b = (int)( b * 1.05 ) + 1;
			else 
				b = (int)( b * 1.05 );
			
		}
		
		System.out.println(b*1000);
		
	}
	
	public static void main(String[] args) {
		
		new Main().run();
		
	}
	
} Main
import java.util.*;
import java.lang.*;
import java.math.*;


public class Main {
	
	Scanner sc = new Scanner(System.in);
	
	void run() {
		
		int n = sc.nextInt();
		int b = 100;
		
		for (int i=0;i<n;i++) {
			
			if ( (double)(b*0.05) - (int)(b*0.05) > 0 )
				b = (int)( b * 1.05 ) + 1;
			else 
				b = (int)( b * 1.05 );
			
		}
		
		System.out.println(b*1000);
		
	}
	
	public static void main(String[] args) {
		
		new Main().run();
		
	}
	
}