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

int main(void){
    int     x;
    int     money = 100;
    int     cnt=0;

    scanf("%d",&x);
    while (money <= x)
    {
        money += money / 100;
        cnt++;
    }
    printf("%d\n",cnt);
    return(0);
}