program money
    implicit none
    integer(8) x, i, money1, money2, r, flag
    read(*,*) x
    flag=0
    i=0
    money1=100
    r=100
    do while (flag==0)
        if ( money1>=x ) then
            flag=1
        else
            money2=money1+money1/100
            money1=money2
            i=i+1
        end if
    end do
    write(*,*) i
end program money