Four friends pooled their money for a shared gift. They contributed the following amounts: $12, $18, $24, and $34. If they agree to share the total cost equally, how much should the friend who contributed $34 receive back from the others?
$10
$12
$14
$16
$18