A subset of $X$ of $\{1,2,3, \ldots 10000 \}$ has the following property: If $a,b$ are distinct elements of $X$, then $ab\not\in X$. What is the maximal number of elements in $X$?

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