object Main extends App {
  val sc = new java.util.Scanner(System.in)
  val X = sc.nextLong()
  @scala.annotation.tailrec
  def loop(i: Long, count: Int): Int = 
    if (X <= i) count else loop(i + i / 100, count + 1)
  println(loop(100L, 0))
}
