KPMG interview question

Double Entry