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

int main() {
	string str;
	cin >> str;
	for(char c = 'a'; c <= 'z'; c++) {
		for(size_t i = 0; i < str.length(); i++) {
			if(str[i] == c) {
				cout << str[i];
				break;
			}
		}
	}
	cout << endl;
	return 0;
}