Five friends do yardwork for their neighbors and earn 27, 35, and $50 respectively. They decide to divide their earnings equally among themselves. How much must the friend who earned $50 give to the others? 10 \qquad \textbf{(B) } 18 \qquad \textbf{(D) } 25$