What is the mode of the data shown in the table?
Scores: 5, 12, 13, 18
Frequency: 3, 2, 5, 4
A. 12
B. 13
C. 51.5
D. 12.5