fun main(args: Array<String>) {
    val x = readLine()!!.toLong()
    //val (a,b) = readLine()!!.split(' ').map { s -> s.toInt() }
    var yokin = 100L
    var cnt = 0L
    while (x > yokin) {
        yokin = yokin + (yokin * 0.01).toLong()
        cnt += 1L
    }
    println( cnt )
}