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

public class Main {

	public static void main(String[] a){

		String str;
		BufferedReader bf = new BufferedReader(new InputStreamReader(System.in));

		try {
			while(null != ( str = bf.readLine() )){
				long n = Long.parseLong(str);
				long ans = 100;
				while(n-- > 0){
					ans = (long) Math.ceil(ans * 1.05);
				}
				System.out.println(ans * 1000);
			}
		} catch (IOException e) {
			e.printStackTrace();
		} finally {
			try {
				bf.close();
			} catch (IOException e) {
			}
		}
	}

} import java.io.BufferedReader; BufferedReader java.io import java.io.IOException; IOException java.io import java.io.InputStreamReader; InputStreamReader java.io public class Main {

	public static void main(String[] a){

		String str;
		BufferedReader bf = new BufferedReader(new InputStreamReader(System.in));

		try {
			while(null != ( str = bf.readLine() )){
				long n = Long.parseLong(str);
				long ans = 100;
				while(n-- > 0){
					ans = (long) Math.ceil(ans * 1.05);
				}
				System.out.println(ans * 1000);
			}
		} catch (IOException e) {
			e.printStackTrace();
		} finally {
			try {
				bf.close();
			} catch (IOException e) {
			}
		}
	}

} Main public static void main(String[] a){

		String str;
		BufferedReader bf = new BufferedReader(new InputStreamReader(System.in));

		try {
			while(null != ( str = bf.readLine() )){
				long n = Long.parseLong(str);
				long ans = 100;
				while(n-- > 0){
					ans = (long) Math.ceil(ans * 1.05);
				}
				System.out.println(ans * 1000);
			}
		} catch (IOException e) {
			e.printStackTrace();
		} finally {
			try {
				bf.close();
			} catch (IOException e) {
			}
		}
	} main {

		String str;
		BufferedReader bf = new BufferedReader(new InputStreamReader(System.in));

		try {
			while(null != ( str = bf.readLine() )){
				long n = Long.parseLong(str);
				long ans = 100;
				while(n-- > 0){
					ans = (long) Math.ceil(ans * 1.05);
				}
				System.out.println(ans * 1000);
			}
		} catch (IOException e) {
			e.printStackTrace();
		} finally {
			try {
				bf.close();
			} catch (IOException e) {
			}
		}
	} String str; str BufferedReader bf = new BufferedReader(new InputStreamReader(System.in)); bf new BufferedReader(new InputStreamReader(System.in)) try {
			while(null != ( str = bf.readLine() )){
				long n = Long.parseLong(str);
				long ans = 100;
				while(n-- > 0){
					ans = (long) Math.ceil(ans * 1.05);
				}
				System.out.println(ans * 1000);
			}
		} catch (IOException e) {
			e.printStackTrace();
		} finally {
			try {
				bf.close();
			} catch (IOException e) {
			}
		} catch (IOException e) {
			e.printStackTrace();
		} IOException e {
			e.printStackTrace();
		} e.printStackTrace() e.printStackTrace e {
			try {
				bf.close();
			} catch (IOException e) {
			}
		} try {
				bf.close();
			} catch (IOException e) {
			} catch (IOException e) {
			} IOException e {
			} {
				bf.close();
			} bf.close() bf.close bf {
			while(null != ( str = bf.readLine() )){
				long n = Long.parseLong(str);
				long ans = 100;
				while(n-- > 0){
					ans = (long) Math.ceil(ans * 1.05);
				}
				System.out.println(ans * 1000);
			}
		} while(null != ( str = bf.readLine() )){
				long n = Long.parseLong(str);
				long ans = 100;
				while(n-- > 0){
					ans = (long) Math.ceil(ans * 1.05);
				}
				System.out.println(ans * 1000);
			} null != ( str = bf.readLine() ) null ( str = bf.readLine() ) str bf.readLine() bf.readLine bf {
				long n = Long.parseLong(str);
				long ans = 100;
				while(n-- > 0){
					ans = (long) Math.ceil(ans * 1.05);
				}
				System.out.println(ans * 1000);
			} long n = Long.parseLong(str); n Long.parseLong(str) Long.parseLong Long str long ans = 100; ans 100 while(n-- > 0){
					ans = (long) Math.ceil(ans * 1.05);
				} n-- > 0 n-- n 0 {
					ans = (long) Math.ceil(ans * 1.05);
				} ans = (long) Math.ceil(ans * 1.05) ans (long) Math.ceil(ans * 1.05) Math.ceil Math ans * 1.05 ans 1.05 System.out.println(ans * 1000) System.out.println System.out System System.out ans * 1000 ans 1000 String[] a a public class Main {

	public static void main(String[] a){

		String str;
		BufferedReader bf = new BufferedReader(new InputStreamReader(System.in));

		try {
			while(null != ( str = bf.readLine() )){
				long n = Long.parseLong(str);
				long ans = 100;
				while(n-- > 0){
					ans = (long) Math.ceil(ans * 1.05);
				}
				System.out.println(ans * 1000);
			}
		} catch (IOException e) {
			e.printStackTrace();
		} finally {
			try {
				bf.close();
			} catch (IOException e) {
			}
		}
	}

} public class Main {

	public static void main(String[] a){

		String str;
		BufferedReader bf = new BufferedReader(new InputStreamReader(System.in));

		try {
			while(null != ( str = bf.readLine() )){
				long n = Long.parseLong(str);
				long ans = 100;
				while(n-- > 0){
					ans = (long) Math.ceil(ans * 1.05);
				}
				System.out.println(ans * 1000);
			}
		} catch (IOException e) {
			e.printStackTrace();
		} finally {
			try {
				bf.close();
			} catch (IOException e) {
			}
		}
	}

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

public class Main {

	public static void main(String[] a){

		String str;
		BufferedReader bf = new BufferedReader(new InputStreamReader(System.in));

		try {
			while(null != ( str = bf.readLine() )){
				long n = Long.parseLong(str);
				long ans = 100;
				while(n-- > 0){
					ans = (long) Math.ceil(ans * 1.05);
				}
				System.out.println(ans * 1000);
			}
		} catch (IOException e) {
			e.printStackTrace();
		} finally {
			try {
				bf.close();
			} catch (IOException e) {
			}
		}
	}

}