Anagram deterministy