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


void ReadInput(long *input)
{
    //printf("Enter the money which you want to get: \n");
    scanf("%ld", input);
}

void CountYears(long * input)
{
    long basicMoney = 100;
    int years = 0;
    
    while(basicMoney < *input)
    {
        years++;
        basicMoney *= 1.01;
        
    }
    
    printf("%d \n", years);
    
}

int main(int argc, const char * argv[])
{
    long  *input = malloc(32 * sizeof(long));
    ReadInput(input);
    CountYears(input);
    return 0;
}
