Let p,q,p, q,p,q, and rrr be distinct prime numbers, where 111 is not a prime. Determine the smallest perfect cube that has n=pq3r6n=pq^3r^6n=pq3r6 as a divisor.