On the cost of educating a medical student