Red onions, 1 kg or Onion and basil sauce with tomatoes WELL DONE PREMIUM, 300 g?

Energy 40 kcal 115 kcal
Fat 0,1 g 8,4 g
of which saturates 0 g 1,5 g
Carbohydrate 9,3 g 7,4 g
of which sugars 4,2 g 5,6 g
Protein 1,1 g 1,7 g
Salt 0 g 0,8 g

Figures from the product labels. Green is the better value.

Red onions, 1 kg
A
Red onions, 1 kg
40 kcal Fat 0,1 g Carbs 9,3 g Prot. 1,1 g
Sat. fat 0 g Sugars 4,2 g
1 kg
Onion and basil sauce with tomatoes WELL DONE PREMIUM, 300 g
B
Onion and basil sauce with tomatoes WELL DONE PREMIUM, 300 g
115 kcal Fat 8,4 g Carbs 7,4 g Prot. 1,7 g
Sat. fat 1,5 g Sugars 5,6 g
300 g