Pergunta de entrevista da empresa BAT

Game 14 question by pymetric , that first assesment