#include <stdio.h>
#include <string.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <ctype.h>
#include <pthread.h>
int main(int argc, char** argv)
{
char a[101] = {0};
char b[27] = {0};
int i, j, k, l;
while(scanf("%s", a) != EOF)
{
l = 0;
for(i=0; i<strlen(a); i++)
{
k = strlen(b);
if(k)
{
for(j=0; j<k; j++)
{
if(tolower(a[i]) == b[j])
{
l = 1;
break;
}
}
if(l == 0)
b[k] = tolower(a[i]);
}
else
{
b[0] = tolower(a[i]);
}
}
printf("%s\n", b);
memset(a, 0, sizeof(a));
memset(b, 0, sizeof(b));
}
return 0;
}
#include <stdio.h>
int main()
{
char str[101];
while (scanf("%s", &str) != EOF)
{
int a[256] = { 0 };
for (int i = 0; str[i] != '\0'; i++)
{
a[str[i]] ++;
if (a[str[i]] == 1)
printf("%c", str[i]);
}
printf("\n");
}
return 0;
}