For $n$ a positive integer, denote by $P(n)$ the product of all positive integer divisors of $n$. Find the smallest $n$ for which 

\[ P(P(P(n))) > 10^{12} \]

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