nnn
0
For this input, the required output is 0.
1
For this input, the required output is 1.
3
For this input, the required output is 2.
2
5
For this input, the required output is 5.
The Fibonacci sequence is defined as:
Given nnn, compute FnF_nFn.
FnF_nFn