Infosys interview question

Some aptitude question was been asked