#include <string>
#include <vector>
#include <algorithm>
using namespace std;
string solution(string s)
{
string answer = "";
int i, length = s.length();
vector <char> temp;
for(i = 0; i< length; i++)
{
temp.push_back(s[i]);
}
sort(temp.begin(), temp.end(), greater<char>());
for(i = 0; i < length; i++)
{
answer+= temp[i];
}
return answer;
}