Compute max-weight independent set in path [1,4,5,4] via DP

Analyze the compute max-weight independent set in path [1,4,5,4] via dp.

Examples
Input: "test_input_1"
Output: "output_1"
Hints

Compute max-weight independent set in path [1,4,5,4] via DP

Analyze the compute max-weight independent set in path [1,4,5,4] via dp.