title: Printing Items that are in sack in knapsack
body: <p>Suppose you are a thief and you invaded a house. Inside you found the following items:</p>
  <p>A vase that weights 3 pounds and is worth 50 dollars.<br />
  A silver nugget that weights 6 pounds and is worth 30 dollars.<br />
  A painting that weights 4 pounds and is worth 40 dollars.<br />
  A mirror that weights 5 pounds and is worth 10 dollars.</p>
  <p>Solution to this Knapsack problem of size 10 pounds is 90 dollars .</p>
  <p>Table made from dynamic programming is :-</p>
  <p><img src="https://i.stack.imgur.com/Bg6yY.jpg" alt="enter image description here" /></p>
  <p><strong>Now i want to know which elements i put in my sack using this table then how to back track ??</strong></p>