Let $X$ be the set consisting of twenty positive integers $n, n+2, \ldots, n+38$. Determine the smallest value of $n$ such that any three numbers $a, b, c \in X$, not necessarily distinct, can form the sides of an acute-angled triangle.

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