#include<iostream>
using namespace std;
int main()
{
int x=0,y=1,z,i,t;
cout<<"enter any number\n";
cin>>z;
cout<<x<<endl;
for(i=2;i<z;i++)
{
t=x+y;
cout<<t<<endl;
y=x;
x=t;
}
getch();
}
using namespace std;
int main()
{
int x=0,y=1,z,i,t;
cout<<"enter any number\n";
cin>>z;
cout<<x<<endl;
for(i=2;i<z;i++)
{
t=x+y;
cout<<t<<endl;
y=x;
x=t;
}
getch();
}