#include<stdio.h>
int main()
{
    char s[101];
    int count=1;
    scanf("%s",s);
    for(int i=0;s[i];i++)
    {
        if(!isalpha(s[i]))
        {
            printf("Invalid input");
        }
    }
    for(int i=0;s[i]!=\0;i++)
    {
        for(j=0;s[j]!=\0;j++)
        {
            if(s[i]==s[j])
            {
                count=0;
                break;
            }
            
        }
        if(count==1)
        {
            printf("%s",s[i]);
        }
    }
}