Pregunta de entrevista de Revel (NY)

Basic string parsing essentially, very easy.