Capgemini Interview Question

there were puzzle based questions