add dp.2 problem