結果 : knapsack problem python example