KPMG interview question

number manipulation