#include void main(){int i,a=1,b=1;double f=1,s=0;for(i=1;i<=3;i++){s+=b*f/a;a=a+b;b=a-b;f=-f;}printf("s=%lf",s);}