#include<stdio.h>
#define ll long long
int main(){
    ll x;
    scanf("%lld",&x);
    ll ans = 0;
    ll p = 100;
    while(x > p){
        ans ++;
        ll q = p / 100;
        p += q;
    }
    printf("%lld\n",ans);
    return 0;
}