import java.lang.Math.floor
import java.util.*

fun main(args: Array<String>) {
    val scan = Scanner(System.`in`)
    var kotlin=scan.nextLine().toLong()

    var value :Long = 100
    var count = 0
    while(value<kotlin)
    {
        var z = floor(value*0.01)
        value+=z.toLong()
        count++
    }
    println(count)
}
