Pergunta de entrevista da empresa State Street

Coding question: if the number is Magic Number or not?