In a test, five students of a class scored 39, 37, 40, 34, and 36, respectively. If the sixth student scored n marks, for which of the following values of n does the average (arithmetic mean) score per student for the six students equal the median score?
Indicate all such values.
[Note: Select one or more answer choices]