The mean of four positive integers is 5.
The median of the four integers is 6.
What is the mean of the largest and smallest of the integers?