Anagram repartition