fun main() = abc165b()

@OptIn(ExperimentalStdlibApi::class)
fun abc165b() {
    val x = readLine()!!.toLong()

    var curr = 100L
    var answer = 0

    while (curr < x) {
        val add = curr / 100
        curr += add
        answer++
    }

    println(answer)
}
