Infosys interview question

not appropriate - but easy stuff