Infosys interview question

Max of two nos code