KPMG interview question

all expected