Pergunta de entrevista da empresa Fidelity Investments

Seven "ate" nine on CodeWars (6kyu)