import java.util.Scanner
import scala.io.StdIn._

object Main extends App {

  val x = readLong()


  def solve() = {
    var money = 100L
    var year = 0
    while(money < x) {
      money += money / 100
      year += 1
    }
    year
  }

  println(solve())

}

