Infosys interview question

Easy not much hard level