#include <stdio.h>
#include <stdlib.h>

int main( int argc, char *argv[] )
{
    long long a = 100;
    long long x;

    scanf( "%lld", &x );

    for( int i=1; ; i++ ) {

        a *= 1.01;

        if( a >= x ) {
            printf( "%d\n", i );
            exit( 0 );
        }
    }

    puts( "NG" );
}
