#include #include using namespace std; int main() { int n; cin >> n; int flower_array[n]; for (int i = 0; i < n; i++) { cin >> flower_array[i]; } for (int i = 0; i < n - 1; i++) { for (int j = 0; j < n - i - 1; j++) { int k = j + i; for (int l = 1; l <= k; l++) { cout << flower_array[l] << " "; } cout << endl; } } return 0; }