For positive integers $m$ and $n$ such that $m+10<n+1$, both the mean and the median of the set $\{m, m+4, m+10, n+1, n+2, 2n\}$ are equal to $n$. What is the value of $m+n$?

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