#include<stdio.h>
#define N 100
int main()
{
char ch[N] = {0};
char c;
int i, j, x;
char temp;
scanf("%s", ch);
for (i = 0;i < N;i++)
{
for (j = 0;j < N - 1;j++)
{
if (ch[j] > ch[j + 1])
{
temp = ch[j];
ch[j] = ch[j + 1];
ch[j + 1] = temp;
}
}
}
for (i = 0;i < N;i++)
{
if (ch[i] != ch[i+1])
putchar(ch[i]);
}
return 0;
}