Item B is the best value, about 4.7% cheaper per g.
Next stepRemember to factor in shelf life, storage space and how much you will genuinely use before deciding to buy the largest pack.