#include <iostream>
#include <vector>
#include <algorithm>
using namespace std;

int main()
{
	vector<int> x { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 };
	remove_if(x.begin(), x.end(), [](int x){ return x % 2 == 0; });
	
	for (int e : x)
		cout << e << ' ';
	cout << endl;
}