Problem Description 编写计算斐波那契(Fibonacci)数列的第n项函数fib(n)(n<40)。 数列: f1=f2==1; fn=fn-1+fn-2(n>=3)。 Input 输入整数n