Pergunta de entrevista da empresa ION Group

Puzzle or probability question which were quite difficult