#include
using namespace std;
int main()
{
int seqEl[3] = {1, 1, 2};
int n;
cout << "N = ";</p>
cin >> n;
// Вывод первых 3-х членов
cout << seqEl[0] << endl << seqEl[1] << endl << seqEl[2] << endl;</p>
for (int i = 2; i < n; i++)
{
seqEl[0] = seqEl[1];
seqEl[1] = seqEl[2];
seqEl[2] = seqEl[0] + seqEl[1];
cout << seqEl[2] << endl;</p>
}
return 0;
}