#include <iostream>
#include <vector>
using namespace std;
class Test {
vector<int> vec;
public:
Test(vector<int> v) {
vec = v;
}
void print() {
for (auto const& v : vec) cout << v << " ";
}
};
int main()
{
vector<int> vec;
for (int i = 1; i <= 7; i++)
vec.push_back(i);
Test obj(vec);
obj.print();
return 0;
}
/*
run:
1 2 3 4 5 6 7
*/