At what age did Mary Shelley start writing the novel Frankenstein ?

At what age did Mary Shelley start writing the novel Frankenstein ?

A. 26
B. 18
C. 31
D. 24