Knapsack problems in products of groups. (May 2016)