#include <stdio.h>

int main() {
    long long x;
    scanf("%lld", &x);
    int ans = 0;
    long long balance = 100;
    while(balance < x) {
        balance += balance / 100;
        ans++;
    }
    printf("%d\n", ans);
}