You are given an input file called
For each N, you are supposed to echo the Nth fibonacci number on a new line.
The first fibonacci number F1 = 1
The first fibonacci number F2 = 1
The nth fibonacci number Fn = Fn-1 + Fn-2 (n > 2)
1 <= T <= 50 1 <= N <= 50
Input file: 3 1 2 3 Output: 1 1 2
NOTE: You only need to implement the given function. Do not read input, instead use the arguments to the function. Do not print the output, instead return values as specified. Still have a question? Checkout Sample Codes for more details.