DNA computing of solutions to knapsack problems