#include <iostream>
#include <bits/stdc++.h>
using namespace std;
string remove_even_frequency_characters(string s) {
unordered_map<char, int> char_frequency;
for (int i = 0; i < s.length(); i++) {
char_frequency[s[i]]++;
}
string new_string = "";
for (int i = 0; i < s.length(); i++) {
if (char_frequency[s[i]] % 2 == 0)
continue;
new_string += s[i];
}
return new_string;
}
int main() {
string s = "c++ programming version 14";
string new_string = remove_even_frequency_characters(s);
cout << new_string << endl;
return 0;
}
/*
run:
c prra vers 14
*/