Compute the sum of all positive integers $n$ such that $n^n$ has 325 positive integer divisors. For example, $4^4=256$ has 9 positive integer divisors: 1, 2, 4, 8, 16, 32, 64, 128, 256.

Let's think step by step and output the final answer within \boxed{}.
user