In a sequence of positive integers, each term after the second is the product of the previous two terms. The sixth term is $4000$. What is the first term?

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