Writing was first developed in civilization as a way to keep what important records?

A.
the names of gods and godesses

B.
the number of people born

C.
the amount of grain harvested

D.
the lists of social classes

my answer is D is this correct?