Involve two files about dynamic programming.