#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#define ull unsigned long long

int main(){
    ull x,sum=100,count=0;
    scanf("%lld",&x);
    while (x>sum) {
        sum+=sum%100;
        count++;
    }
    printf("%lld",count);
    return 0;
}
