The expression (x^n) (x^5)^3 is equivalent to x^30. What is the value of n?