print_dp_2