#include <iostream>
#include <cmath>
using namespace std;
int main()
{
int i,x,p=1,n;
float Phi,phi;
Phi=(1+sqrt(5))/2;
phi=(1-sqrt(5))/2;
cin>>n;
for(i=1;i<=n;i++)
{
cout<<(pow(Phi,i)-pow(phi,i))/sqrt(5)<<" ";
if(i%2==0)
p*=i;
}
cout<<endl;
cout<<"produsul numerelor pare: "<<p;
return 0;
}