Entelect interview question

Convert a reversed string with punctuation.