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

    var balance = 100L

    var count = 0L
    while(balance < x) {
        balance += balance / 100
        count++
    }

    print(count)

}