What is the most appropriate location for the placement of a retentive pin?

In dentin a minimum 0.5mm from the dentino-enamel junction.

At the dentino-enamel junction.

In enamel a minimum 0.5mm from the dentino-enamel junction.

At least 2.5mm from the cavosurface margin.