#include
#include
#include
#include
#include
using namespace std;
int main(){
priority_queue
char c[100];
cin>>c;
int l=strlen(c),a;
for(int i=0;i
}
cout<
while(!ans.empty()){
cout<<" "<
}
cout<<"\n";
return 0;
}