#include<stdio.h>


int main(void){
    int K;
    scanf("%d", &K);

    int year=0;
    int stuck=100;

    while(1){
        year++;
        stuck+=stuck*0.01;

        if(stuck==K){
            break;
        }
    }

    printf("%d",year);

    return 0 ;
}