#include"stdio.h"
#include "stdlib.h"//malloc需要用到
int main()
{int i,n;
long *fib;
scanf("%d",&n);
fib=(long*)malloc((n+1)*sizeof(long));//动态分配内存。
fib[0]=1;fib[1]=1;
for(i=2;i<=n;i++)
{fib[i]=fib[i-1]+fib[i-2];
}
for(i=0;i<=n;i++)
{
printf("F%d==%d\n",i,fib[i]);
}
free(fib);
return 0;
}