Capgemini interview question

Quantitative and Aptitude