int fib(unsigned int n)
{
if (n < 2) return n;
return fib(n - 1) + fib(n - 2);
}
/code>
var n = Number(prompt("???"))
var a = 0;
console.log(a);
var b = 1;
console.log(b);
var c = a + b;
for (i = 0; i < n-2; i++) {
console.log(c);
a = b;
b = c;
c = a + b;
}