fun main(args: Array<String>) {
    val X = readLine()!!.toLong()

    var sum = 100.0
    var sumYear = 0
    while(true) {
        if (sum > X) break
        sum = sum.toLong() * 1.01
        sumYear ++
    }

    println(sumYear)
}