Magic knapsack!!11