Whole grain rye flour or All grain spaghetti WELL DONE No. 5, 500 g?

Energy 317 kcal 344 kcal
Fat 1,5 g 2,9 g
of which saturates 0,3 g 0,7 g
Carbohydrate 75,2 g 58 g
of which sugars 1,3 g 3,1 g
Protein 8,4 g 15 g
Salt 0,1 g 0 g

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

Whole grain rye flour
A
Whole grain rye flour
317 kcal Fat 1,5 g Carbs 75,2 g Prot. 8,4 g
Sat. fat 0,3 g Sugars 1,3 g
1,75 kg
All grain spaghetti WELL DONE No. 5, 500 g
A
All grain spaghetti WELL DONE No. 5, 500 g
344 kcal Fat 2,9 g Carbs 58 g Prot. 15 g
Sat. fat 0,7 g Sugars 3,1 g
500 g