Pergunta de entrevista da empresa Aruna

It was based on simple maths