import combinations_with_replacement from combatibility