Predicting Sets and Lists: Theory and Practice