#include <iostream>
#include <string>
#include <map>
using namespace std;

int main() {
	string str;
	cin >> str;
	map<char, int> m;
	for(auto e : str) {
		m[e]++;
	}
	for(auto e : m) {
		if(e.second == 1) {
			cout << e.first;
		}
	}
	cout << endl;
	return 0;
}