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