Tech Mahindra interview question

It's easy