Spending wisely in med school can pay off down the road