Pergunta de entrevista da empresa Academia.edu

Variation of FizzBuzz, with added complexity