class Main
{
	public static void main( String[] args )
	{
		java.util.Scanner sc = new java.util.Scanner( System.in );
		
		int n = sc.nextInt();
		
		double money = 100000;
		
		for( int i = 0 ; i < n ; i++ ){
			money *= ( 1.05 );
			money += 999;
			money =  (int)(money/1000)*1000;
		}
		System.out.println( (int)money );
	}
} class Main
{
	public static void main( String[] args )
	{
		java.util.Scanner sc = new java.util.Scanner( System.in );
		
		int n = sc.nextInt();
		
		double money = 100000;
		
		for( int i = 0 ; i < n ; i++ ){
			money *= ( 1.05 );
			money += 999;
			money =  (int)(money/1000)*1000;
		}
		System.out.println( (int)money );
	}
} Main public static void main( String[] args )
	{
		java.util.Scanner sc = new java.util.Scanner( System.in );
		
		int n = sc.nextInt();
		
		double money = 100000;
		
		for( int i = 0 ; i < n ; i++ ){
			money *= ( 1.05 );
			money += 999;
			money =  (int)(money/1000)*1000;
		}
		System.out.println( (int)money );
	} main {
		java.util.Scanner sc = new java.util.Scanner( System.in );
		
		int n = sc.nextInt();
		
		double money = 100000;
		
		for( int i = 0 ; i < n ; i++ ){
			money *= ( 1.05 );
			money += 999;
			money =  (int)(money/1000)*1000;
		}
		System.out.println( (int)money );
	} java.util.Scanner sc = new java.util.Scanner( System.in ); sc new java.util.Scanner( System.in ) int n = sc.nextInt(); n sc.nextInt() sc.nextInt sc double money = 100000; money 100000 for( int i = 0 ; i < n ; i++ ){
			money *= ( 1.05 );
			money += 999;
			money =  (int)(money/1000)*1000;
		} int i = 0 ; int i = 0 ; i 0 i < n i n i++ i++ i {
			money *= ( 1.05 );
			money += 999;
			money =  (int)(money/1000)*1000;
		} {
			money *= ( 1.05 );
			money += 999;
			money =  (int)(money/1000)*1000;
		} money *= ( 1.05 ) money ( 1.05 ) money += 999 money 999 money =  (int)(money/1000)*1000 money (int)(money/1000)*1000 (int)(money/1000) money 1000 1000 System.out.println( (int)money ) System.out.println System.out System System.out (int)money String[] args args
class Main
{
	public static void main( String[] args )
	{
		java.util.Scanner sc = new java.util.Scanner( System.in );
		
		int n = sc.nextInt();
		
		double money = 100000;
		
		for( int i = 0 ; i < n ; i++ ){
			money *= ( 1.05 );
			money += 999;
			money =  (int)(money/1000)*1000;
		}
		System.out.println( (int)money );
	}
}