SPOJ - he Knapsack Problem