unittest
{
	assert( [ "103" ].parse.expand.solve == 3 );
	assert( [ "1000000000000000000" ].parse.expand.solve == 3760 );
	assert( [ "1333333333" ].parse.expand.solve == 1706 );
}



import std.conv;
import std.range;
import std.stdio;
import std.typecons;

void main()
{
	stdin.byLineCopy.parse.expand.solve.writeln;
}

auto parse( Range )( Range input )
if( isInputRange!Range && is( ElementType!Range == string ) )
{
	auto x = input.front.to!( long );
	return tuple( x );
}

auto solve( long x )
{
	auto t = 100L;
	for( auto i = 1L;; i++ )
	{
		t += t / 100;
		if( x <= t ) return i;
	}
}
