The answer to that is not something we can help you with because, if you don't know, it is something you need to ask the people who set the problem. Once you know how duplicates are to be treated we can help you if you are still having difficulties coding a solution. We can't write the spec for you!

When putting a smiley right before a closing parenthesis, do you:

Use two parentheses: (Like this: :) )
Use one parenthesis: (Like this: :)
Reverse direction of the smiley: (Like this: (: )
Use angle/square brackets instead of parentheses
Use C-style commenting to set the smiley off from the closing parenthesis
Make the smiley a dunce: (:>
I disapprove of emoticons
Other