Given a Fibonacci sequence (https://en.wikipedia.org/wiki/Fibonacci_number), start cancelling every Lth element. Wrap around and continue the cancellation until only one element remains. As the Fibonacci number will overflow in a traditional data type, take modulus of the number with 1000000007.