Pergunta de entrevista da empresa athenahealth

Puzzle to solve are fairly time consuming.