Pregunta de entrevista de Barclays

Pattern recognition, deduction, nothing too bad