Anagram terminates