#include <stdio.h>

int main(void) {
    long long x,xp = 100;
    int step=0;
    
    scanf("%d",&x);
    while(xp < x){
        xp += (xp / 100);
        step++;
    }

    printf("%d\n",step);
	return 0;
}