import std.stdio,
	   std.math,
	   std.string,
	   std.conv;

void main() {
	double m = 100000;
	int n = readln.chomp.to!int;
	foreach (int i; 0..n) {
		m *= 1.05;
		if (m % 1000 != 0)
			m = m + (1000 - m%1000);
	}
	writeln(m);
}