fun main(args: Array<String>) {
    val x = readLine()!!.toLong()
    var a = 100L
    var i = 0;

    while(true){
        i += 1
        a += a / 100
    
        if(a >= x){
            break
        }
    }
    println("${i}")

}