Infosys interview question

i am not remember correctly