#include <iostream>
#include <fstream>
using namespace std;
int main() {
ofstream gl("file.txt");
gl << 6 << " "<< 5 << " " << 4 << " " << 3 << " " << 2 << endl;
gl << 7 << " " << 4 << " " << 3 << " " << 2 << endl;
gl << 8 << " " << 3 << " " << 2 << endl;
gl << 9 << " " << 2 << endl;
gl << 2;
return 0;
}
#include <iostream>
#include <fstream>
using namespace std;
int main() {
ofstream gl("file.txt");
gl << 6 << " "<< 5 << " " << 4 << " " << 3 << " " << 2 << endl;
gl << 7 << " " << 4 << " " << 3 << " " << 2 << endl;
gl << 8 << " " << 3 << " " << 2 << endl;
gl << 9 << " " << 2 << endl;
gl << 2;
return 0;
}