#include
long int f(int n)
{
if(n==0)
return 0;
else if(n==1)
return 1;
else
return f(n-1) + f(n-2);
}
int main()
{
int n;
while(scanf("%d",&n)==1)
{
printf("f(%d) = %dn",n,f(n));
}
}
#include
long int f(int n)
{
if(n==0)
return 0;
else if(n==1)
return 1;
else
return f(n-1) + f(n-2);
}
int main()
{
int n;
while(scanf("%d",&n)==1)
{
printf("f(%d) = %dn",n,f(n));
}
}