Adam's three sisters eat an average of 3 pieces of pizza every time they have pizza for dinner. Last night, one sister ate 2 pieces of pizza. Another sister ate 5 pieces of pizza. Identify the number of pieces that the third sister ate and the median number of pieces.