Anagram constrainedly