Combinations with restrictions