
import java.util.Scanner;

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

import java.util.Scanner;

public class Main {
	public static void main(String[] args){
		Scanner stdIn = new Scanner(System.in);
		int n = stdIn.nextInt();
		int m = 100000;
		
		for(int i=0;i<n;i++){
			m = (int)(m * 1.05);
			if(m%1000!=0){
				m = (m/1000)*1000+1000;
			}
		}
		
		System.out.println(m);
	}
}