Capgemini Interview Question

It was easy