iccanobiF#4732

iccanobiF

1 second
128 megabytes
Easy

Fibonacci numbers is a sequence of numbers , given by the formula:

F(0) = 1, F(1) = 1, F(n) = F(n-1) + F(n-2)

Fibonacci number is given. Find its index . You must find such index that F(n) = f.

Input

Fibonacci number ( ≤ ≤ 2 \cdot 10^9).

Output

Print the index of Fibonacci number .

Examples

Example 1

Loading
Loading