The conversation between human and AI assistant.
[|Human|] Given an input string, remove all duplicate characters and print the output string.
[|AI|] The output string with all duplicates removed is: "aple"
[|Human|] 
Given an input string, remove all duplicate characters and print the output string.