using System.Linq;using C=System.Console;class X{static void Main(){for(;;)C.WriteLine(C.ReadLine().Distinct().ToArray());}}