Fibonacci check

Enter two first numbers and a last number.
The result will return last number's location in fibonacci series