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


public class Main {

	public static void main(String[] args) throws IOException {
		try (BufferedReader br = new BufferedReader(new InputStreamReader(
				System.in))) {

			new Main().solution(br);
		}
	}

	private void solution(BufferedReader br) throws IOException {
		int base = 100000;
		int ratio = 5;
		int term = Integer.parseInt(br.readLine());

		int ans = calc(base, ratio, term);
		System.out.println(ans);
	}

	private int calc(int base, int ratio, int term) {
		int result = base;
		int interest;
		int fraction;

		for (int i = 1; i <= term; i++) {
			interest = result / 100 * 5;// ??????
			fraction = interest % 1000;// ?????°
			if (fraction != 0) {
				interest = interest - fraction + 1000;// ??????????????????
			}
			// if(fraction > 500){
			// interest = interest - fraction + 1000;
			// }else{
			// interest = interest - fraction;
			// }
			result += interest;
		}
		return result;
	}
} 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[] args) throws IOException {
		try (BufferedReader br = new BufferedReader(new InputStreamReader(
				System.in))) {

			new Main().solution(br);
		}
	}

	private void solution(BufferedReader br) throws IOException {
		int base = 100000;
		int ratio = 5;
		int term = Integer.parseInt(br.readLine());

		int ans = calc(base, ratio, term);
		System.out.println(ans);
	}

	private int calc(int base, int ratio, int term) {
		int result = base;
		int interest;
		int fraction;

		for (int i = 1; i <= term; i++) {
			interest = result / 100 * 5;// ??????
			fraction = interest % 1000;// ?????°
			if (fraction != 0) {
				interest = interest - fraction + 1000;// ??????????????????
			}
			// if(fraction > 500){
			// interest = interest - fraction + 1000;
			// }else{
			// interest = interest - fraction;
			// }
			result += interest;
		}
		return result;
	}
} Main public static void main(String[] args) throws IOException {
		try (BufferedReader br = new BufferedReader(new InputStreamReader(
				System.in))) {

			new Main().solution(br);
		}
	} main {
		try (BufferedReader br = new BufferedReader(new InputStreamReader(
				System.in))) {

			new Main().solution(br);
		}
	} try (BufferedReader br = new BufferedReader(new InputStreamReader(
				System.in))) {

			new Main().solution(br);
		} {

			new Main().solution(br);
		} BufferedReader br = new BufferedReader(new InputStreamReader(
				System.in)) BufferedReader br = new BufferedReader(new InputStreamReader(
				System.in)) new BufferedReader(new InputStreamReader(
				System.in)) new Main().solution(br) new Main().solution new Main() br String[] args args private void solution(BufferedReader br) throws IOException {
		int base = 100000;
		int ratio = 5;
		int term = Integer.parseInt(br.readLine());

		int ans = calc(base, ratio, term);
		System.out.println(ans);
	} solution {
		int base = 100000;
		int ratio = 5;
		int term = Integer.parseInt(br.readLine());

		int ans = calc(base, ratio, term);
		System.out.println(ans);
	} int base = 100000; base 100000 int ratio = 5; ratio 5 int term = Integer.parseInt(br.readLine()); term Integer.parseInt(br.readLine()) Integer.parseInt Integer br.readLine() br.readLine br int ans = calc(base, ratio, term); ans calc(base, ratio, term) calc base ratio term System.out.println(ans) System.out.println System.out System System.out ans BufferedReader br br private int calc(int base, int ratio, int term) {
		int result = base;
		int interest;
		int fraction;

		for (int i = 1; i <= term; i++) {
			interest = result / 100 * 5;// ??????
			fraction = interest % 1000;// ?????°
			if (fraction != 0) {
				interest = interest - fraction + 1000;// ??????????????????
			}
			// if(fraction > 500){
			// interest = interest - fraction + 1000;
			// }else{
			// interest = interest - fraction;
			// }
			result += interest;
		}
		return result;
	} calc {
		int result = base;
		int interest;
		int fraction;

		for (int i = 1; i <= term; i++) {
			interest = result / 100 * 5;// ??????
			fraction = interest % 1000;// ?????°
			if (fraction != 0) {
				interest = interest - fraction + 1000;// ??????????????????
			}
			// if(fraction > 500){
			// interest = interest - fraction + 1000;
			// }else{
			// interest = interest - fraction;
			// }
			result += interest;
		}
		return result;
	} int result = base; result base int interest; interest int fraction; fraction for (int i = 1; i <= term; i++) {
			interest = result / 100 * 5;// ??????
			fraction = interest % 1000;// ?????°
			if (fraction != 0) {
				interest = interest - fraction + 1000;// ??????????????????
			}
			// if(fraction > 500){
			// interest = interest - fraction + 1000;
			// }else{
			// interest = interest - fraction;
			// }
			result += interest;
		} int i = 1; int i = 1; i 1 i <= term i term i++ i++ i {
			interest = result / 100 * 5;// ??????
			fraction = interest % 1000;// ?????°
			if (fraction != 0) {
				interest = interest - fraction + 1000;// ??????????????????
			}
			// if(fraction > 500){
			// interest = interest - fraction + 1000;
			// }else{
			// interest = interest - fraction;
			// }
			result += interest;
		} {
			interest = result / 100 * 5;// ??????
			fraction = interest % 1000;// ?????°
			if (fraction != 0) {
				interest = interest - fraction + 1000;// ??????????????????
			}
			// if(fraction > 500){
			// interest = interest - fraction + 1000;
			// }else{
			// interest = interest - fraction;
			// }
			result += interest;
		} interest = result / 100 * 5 interest result / 100 * 5 result / 100 result 100 5 fraction = interest % 1000 fraction interest % 1000 interest 1000 if (fraction != 0) {
				interest = interest - fraction + 1000;// ??????????????????
			} fraction != 0 fraction 0 {
				interest = interest - fraction + 1000;// ??????????????????
			} interest = interest - fraction + 1000 interest interest - fraction + 1000 interest - fraction interest fraction 1000 result += interest result interest return result; result int base base int ratio ratio int term term public class Main {

	public static void main(String[] args) throws IOException {
		try (BufferedReader br = new BufferedReader(new InputStreamReader(
				System.in))) {

			new Main().solution(br);
		}
	}

	private void solution(BufferedReader br) throws IOException {
		int base = 100000;
		int ratio = 5;
		int term = Integer.parseInt(br.readLine());

		int ans = calc(base, ratio, term);
		System.out.println(ans);
	}

	private int calc(int base, int ratio, int term) {
		int result = base;
		int interest;
		int fraction;

		for (int i = 1; i <= term; i++) {
			interest = result / 100 * 5;// ??????
			fraction = interest % 1000;// ?????°
			if (fraction != 0) {
				interest = interest - fraction + 1000;// ??????????????????
			}
			// if(fraction > 500){
			// interest = interest - fraction + 1000;
			// }else{
			// interest = interest - fraction;
			// }
			result += interest;
		}
		return result;
	}
} public class Main {

	public static void main(String[] args) throws IOException {
		try (BufferedReader br = new BufferedReader(new InputStreamReader(
				System.in))) {

			new Main().solution(br);
		}
	}

	private void solution(BufferedReader br) throws IOException {
		int base = 100000;
		int ratio = 5;
		int term = Integer.parseInt(br.readLine());

		int ans = calc(base, ratio, term);
		System.out.println(ans);
	}

	private int calc(int base, int ratio, int term) {
		int result = base;
		int interest;
		int fraction;

		for (int i = 1; i <= term; i++) {
			interest = result / 100 * 5;// ??????
			fraction = interest % 1000;// ?????°
			if (fraction != 0) {
				interest = interest - fraction + 1000;// ??????????????????
			}
			// if(fraction > 500){
			// interest = interest - fraction + 1000;
			// }else{
			// interest = interest - fraction;
			// }
			result += interest;
		}
		return result;
	}
} Main
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;


public class Main {

	public static void main(String[] args) throws IOException {
		try (BufferedReader br = new BufferedReader(new InputStreamReader(
				System.in))) {

			new Main().solution(br);
		}
	}

	private void solution(BufferedReader br) throws IOException {
		int base = 100000;
		int ratio = 5;
		int term = Integer.parseInt(br.readLine());

		int ans = calc(base, ratio, term);
		System.out.println(ans);
	}

	private int calc(int base, int ratio, int term) {
		int result = base;
		int interest;
		int fraction;

		for (int i = 1; i <= term; i++) {
			interest = result / 100 * 5;// ??????
			fraction = interest % 1000;// ?????°
			if (fraction != 0) {
				interest = interest - fraction + 1000;// ??????????????????
			}
			// if(fraction > 500){
			// interest = interest - fraction + 1000;
			// }else{
			// interest = interest - fraction;
			// }
			result += interest;
		}
		return result;
	}
}