Pregunta de entrevista de LinkedIn

Parse names and reconstruct into string.