Anagram arithmetic