import java.util.*;

public class Main{
    
    public static void main(String[] args){
	Scanner sc =new Scanner(System.in);
	int w = sc.nextInt();
	int det=100000;
	for(;w>0;w--){
	    det*=1.05;
	    if(det%1000!=0){
		det=((det/1000)+1)*1000;
	    }
	}
	System.out.println(det);
    }
} import java.util.*; util.* java public class Main{
    
    public static void main(String[] args){
	Scanner sc =new Scanner(System.in);
	int w = sc.nextInt();
	int det=100000;
	for(;w>0;w--){
	    det*=1.05;
	    if(det%1000!=0){
		det=((det/1000)+1)*1000;
	    }
	}
	System.out.println(det);
    }
} Main public static void main(String[] args){
	Scanner sc =new Scanner(System.in);
	int w = sc.nextInt();
	int det=100000;
	for(;w>0;w--){
	    det*=1.05;
	    if(det%1000!=0){
		det=((det/1000)+1)*1000;
	    }
	}
	System.out.println(det);
    } main {
	Scanner sc =new Scanner(System.in);
	int w = sc.nextInt();
	int det=100000;
	for(;w>0;w--){
	    det*=1.05;
	    if(det%1000!=0){
		det=((det/1000)+1)*1000;
	    }
	}
	System.out.println(det);
    } Scanner sc =new Scanner(System.in); sc new Scanner(System.in) int w = sc.nextInt(); w sc.nextInt() sc.nextInt sc int det=100000; det 100000 for(;w>0;w--){
	    det*=1.05;
	    if(det%1000!=0){
		det=((det/1000)+1)*1000;
	    }
	} ; w>0 w 0 w-- w-- w {
	    det*=1.05;
	    if(det%1000!=0){
		det=((det/1000)+1)*1000;
	    }
	} {
	    det*=1.05;
	    if(det%1000!=0){
		det=((det/1000)+1)*1000;
	    }
	} det*=1.05 det 1.05 if(det%1000!=0){
		det=((det/1000)+1)*1000;
	    } det%1000!=0 det%1000 det 1000 0 {
		det=((det/1000)+1)*1000;
	    } det=((det/1000)+1)*1000 det ((det/1000)+1)*1000 ((det/1000)+1) (det/1000) det 1000 1 1000 System.out.println(det) System.out.println System.out System System.out det String[] args args public class Main{
    
    public static void main(String[] args){
	Scanner sc =new Scanner(System.in);
	int w = sc.nextInt();
	int det=100000;
	for(;w>0;w--){
	    det*=1.05;
	    if(det%1000!=0){
		det=((det/1000)+1)*1000;
	    }
	}
	System.out.println(det);
    }
} public class Main{
    
    public static void main(String[] args){
	Scanner sc =new Scanner(System.in);
	int w = sc.nextInt();
	int det=100000;
	for(;w>0;w--){
	    det*=1.05;
	    if(det%1000!=0){
		det=((det/1000)+1)*1000;
	    }
	}
	System.out.println(det);
    }
} Main
import java.util.*;

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