#include<stdio.h>
#include<stdlib.h>
int main()
{
double sum,i,j,f1,f2,f3,N;
scanf("%lf",&N);
f1=1,f2=2;
for (sum=0.00,i=1;i<=N;i++)
sum=sum+f2/f1;
f2=f1+f2;
f1=f2-f1;
printf("%0.2f",sum);
system("pause");
return 0;
}
#include<stdlib.h>
int main()
{
double sum,i,j,f1,f2,f3,N;
scanf("%lf",&N);
f1=1,f2=2;
for (sum=0.00,i=1;i<=N;i++)
sum=sum+f2/f1;
f2=f1+f2;
f1=f2-f1;
printf("%0.2f",sum);
system("pause");
return 0;
}