#include <iostream>
#include <vector>
#include <algorithm>

using namespace std;

int main() {
	vector<int> a={7,4,15,-3,4,10,17,28,101};
	vector<int> b={7,-1,-3,16,23,27,28,45,10,-2,0,1,45,48,49,50};
	vector<int> c;
	
	copy_if(a.begin(), a.end(), back_inserter(c), 
		[&](const auto& v) {
			return (v&1) && find(b.begin(), b.end(), v)==b.end();
		}
	);
	
	for(const auto& v : c) cout << v << endl;
	
	return 0;
}