Let $n$ be a positive integer such that $12n^2 + 12n + 11$ is a four-digit number with all four digits equal. Determine the value of $n$.

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