import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;


class Main{
	public static void main(String[] args)throws IOException{
		BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
		String name;
		int num;
		double prc=100;
		long hen=0;
		while(true){

			try{
				prc=100;
				hen=0;
				num=0;

				name=br.readLine();
				num=Integer.parseInt(name);

				for(int i=0; i<num; i++){
					prc*=1.05;
					prc=Math.ceil(prc);
				}

				hen=(long) prc;
				System.out.println(hen*1000);

			}

			catch(Exception e){
				System.exit(0);
			}
		}
	}
} import java.io.BufferedReader; BufferedReader java.io import java.io.IOException; IOException java.io import java.io.InputStreamReader; InputStreamReader java.io class Main{
	public static void main(String[] args)throws IOException{
		BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
		String name;
		int num;
		double prc=100;
		long hen=0;
		while(true){

			try{
				prc=100;
				hen=0;
				num=0;

				name=br.readLine();
				num=Integer.parseInt(name);

				for(int i=0; i<num; i++){
					prc*=1.05;
					prc=Math.ceil(prc);
				}

				hen=(long) prc;
				System.out.println(hen*1000);

			}

			catch(Exception e){
				System.exit(0);
			}
		}
	}
} Main public static void main(String[] args)throws IOException{
		BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
		String name;
		int num;
		double prc=100;
		long hen=0;
		while(true){

			try{
				prc=100;
				hen=0;
				num=0;

				name=br.readLine();
				num=Integer.parseInt(name);

				for(int i=0; i<num; i++){
					prc*=1.05;
					prc=Math.ceil(prc);
				}

				hen=(long) prc;
				System.out.println(hen*1000);

			}

			catch(Exception e){
				System.exit(0);
			}
		}
	} main {
		BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
		String name;
		int num;
		double prc=100;
		long hen=0;
		while(true){

			try{
				prc=100;
				hen=0;
				num=0;

				name=br.readLine();
				num=Integer.parseInt(name);

				for(int i=0; i<num; i++){
					prc*=1.05;
					prc=Math.ceil(prc);
				}

				hen=(long) prc;
				System.out.println(hen*1000);

			}

			catch(Exception e){
				System.exit(0);
			}
		}
	} BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) String name; name int num; num double prc=100; prc 100 long hen=0; hen 0 while(true){

			try{
				prc=100;
				hen=0;
				num=0;

				name=br.readLine();
				num=Integer.parseInt(name);

				for(int i=0; i<num; i++){
					prc*=1.05;
					prc=Math.ceil(prc);
				}

				hen=(long) prc;
				System.out.println(hen*1000);

			}

			catch(Exception e){
				System.exit(0);
			}
		} true {

			try{
				prc=100;
				hen=0;
				num=0;

				name=br.readLine();
				num=Integer.parseInt(name);

				for(int i=0; i<num; i++){
					prc*=1.05;
					prc=Math.ceil(prc);
				}

				hen=(long) prc;
				System.out.println(hen*1000);

			}

			catch(Exception e){
				System.exit(0);
			}
		} try{
				prc=100;
				hen=0;
				num=0;

				name=br.readLine();
				num=Integer.parseInt(name);

				for(int i=0; i<num; i++){
					prc*=1.05;
					prc=Math.ceil(prc);
				}

				hen=(long) prc;
				System.out.println(hen*1000);

			}

			catch(Exception e){
				System.exit(0);
			} catch(Exception e){
				System.exit(0);
			} Exception e {
				System.exit(0);
			} System.exit(0) System.exit System 0 {
				prc=100;
				hen=0;
				num=0;

				name=br.readLine();
				num=Integer.parseInt(name);

				for(int i=0; i<num; i++){
					prc*=1.05;
					prc=Math.ceil(prc);
				}

				hen=(long) prc;
				System.out.println(hen*1000);

			} prc=100 prc 100 hen=0 hen 0 num=0 num 0 name=br.readLine() name br.readLine() br.readLine br num=Integer.parseInt(name) num Integer.parseInt(name) Integer.parseInt Integer name for(int i=0; i<num; i++){
					prc*=1.05;
					prc=Math.ceil(prc);
				} int i=0; int i=0; i 0 i<num i num i++ i++ i {
					prc*=1.05;
					prc=Math.ceil(prc);
				} {
					prc*=1.05;
					prc=Math.ceil(prc);
				} prc*=1.05 prc 1.05 prc=Math.ceil(prc) prc Math.ceil(prc) Math.ceil Math prc hen=(long) prc hen (long) prc System.out.println(hen*1000) System.out.println System.out System System.out hen*1000 hen 1000 String[] args args
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;


class Main{
	public static void main(String[] args)throws IOException{
		BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
		String name;
		int num;
		double prc=100;
		long hen=0;
		while(true){

			try{
				prc=100;
				hen=0;
				num=0;

				name=br.readLine();
				num=Integer.parseInt(name);

				for(int i=0; i<num; i++){
					prc*=1.05;
					prc=Math.ceil(prc);
				}

				hen=(long) prc;
				System.out.println(hen*1000);

			}

			catch(Exception e){
				System.exit(0);
			}
		}
	}
}