On our forums we encourage users to add 3 simple things in their question.
Sample of input,
Sample of expected output and
most important point; user's efforts(if possible in form of code) which user has put in order to solve their own problems, so request you to do add the same and let us know then.