import Foundation

let input_line: String = readLine()!
//let split: [String] = input_line.components(separatedBy: " ")
//let a = Int(split[0])!
//let b = Int(split[1])!
let x = Int(input_line)!
var money : Int64 = 100
var i : Int64 = 0
while(true) {
    if money >= x {
        print(i)
        break
    }
    money *= (money / 100)
    i += 1
}
