getFukuriOverYear :: Integer -> Integer -> Integer -> Integer
getFukuriOverYear yen limit year | yen >= limit = year
                                 | otherwise = do
                                     let fukuri = ((yen * 101) `div` 100)
                                     getFukuriOverYear fukuri limit (year+1)

main = do
    x <- getLine
    print (getFukuriOverYear 100 (read x) 0)