Anagram parity