int N;
cin >> N;
vector<int> arr;
for(int i = 0; i<N; ++i) {
int temp;
cout << "Num №" << i+1 << ": ";
arr.push_back(temp);
}
cout << endl;
cout << "even numbers: ";
for(int i = 0; i<arr.size(); ++i) {
if(arr[i]%2==0) {
cout << arr[i] << " ";
int N;
cin >> N;
vector<int> arr;
for(int i = 0; i<N; ++i) {
int temp;
cout << "Num №" << i+1 << ": ";
arr.push_back(temp);
}
cout << endl;
cout << "even numbers: ";
for(int i = 0; i<arr.size(); ++i) {
if(arr[i]%2==0) {
cout << arr[i] << " ";
}
}