Pregunta de entrevista de InterSystems

First step was a TET test on HackerRank