Infosys interview question

No surprises