#include <stdio.h>

int main(void) {
    int X = 0;
    int dep = 100;
    int i = 0;
    scanf("%d", &X);
    while (dep < X) {
        i++;
        dep += dep / 100;
    }
    printf("%d", i);
    return 0;
}