fun main(args: Array<String>) {
    val kinri:Double = 1.01
    var yokin = 100.0
    val mokuhyo = next().toDouble()
    var years = 0;
    while (yokin < mokuhyo){
        years += 1
        yokin = Math.floor(yokin * kinri)
    }
    println(years)
}
fun nextIntList() = next().split(" ").map{ it.toInt() }
fun next() = readLine()!!