Unisys interview question

Operation round was bit tricky