Which of the following was a contribution of both the Shang Dynasty and ancient Egypt?

A : a writing system based on pictographs
B : advanced mummification practices
C : a strong naval force
D : advanced silk-making techniques