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

void main ()
{
	double a = 100000;
	int n = to!int(chomp(readln()));
	foreach (i; 0 .. n)
	{
		a = ceil(a / 1000 * 1.05 ) * 1000;
	}
	a = to!long(a);
	writeln(a);
}