Ebix interview question

opps cocapt