12 a.m. vs 12 midnight

12 a.m.

12 midnight

How often have the words 12 a.m. and 12 midnight occurred in a corpus of books? (source: Google Ngram Viewer )