Pregunta de entrevista de MayStreet

fix some badly written code