By a proper divisor of a natural number we mean a positive integer divisor other than 1 and the number itself. A natural number greater than 1 will be called nice if it is equal to the product of its distinct proper divisors. What is the sum of the first ten nice numbers?

(第五届AIME1987 第3题)