Anagram modularly