object Main extends App {
  import scala.math.BigDecimal.RoundingMode
  import java.util.Scanner
  val sc = new Scanner(System.in)

  val x: BigInt = BigInt(sc.nextBigInteger())
  val max: BigInt = BigInt(10).pow(18)

  def interest(a: BigDecimal) =
    (a * BigDecimal("1.01")).setScale(0, RoundingMode.DOWN)
  var i = 0
  val base = BigDecimal(100)
  val found = 0
  val st = LazyList
    .from(1)
    .scanLeft((BigDecimal(100), 0)) { case ((b, _), i) => (interest(b), i) }
    .dropWhile { case (b, i) => b < BigDecimal(x) }
  println(st.head._2)

}
