#include <stdio.h>

int main() {
    int X;
    scanf("%d", &X);
    int sum = 100;
    int year = 0;
    while (sum < X) { 
        sum += (sum / 100);
        year ++;
    }
    printf("%d", year);
}
