get a specified sample from a list