An athlete ran km on the first day. Each following day, he increased his running distance by of the previous day's distance. Determine the minimum number of days needed for the athlete to have run a total distance of at least km.
An integer (0 < N \leq 1000).
A single number representing the required number of days.
Example 1