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 = 100
var i = 0
while(true) {
    if money > x {
        print(i)
        break
    }
    money = money * 101 / 100
    i += 1
}
