
If the given string is:
abcadeecfb
Then after deleting all duplicate occurrences, the string looks like this:
abcdef
The only input line contains a string (STR).
Print the string after removing all the duplicate occurrences.
1 <= N <= 4*10^5
Time Limit: 1sec
abcadeecfb
abcdef
zzzzzxx
zx