The mean, median, and unique mode of the positive integers 5, 6, 7, 8, 8, 9, and g are all equal. What is the value of g?
8
10
12
13
15