Let $n$ be a positive integer such that every digit in $n$ is a $1$ or a $2,$ and $n$ is divisible by both $4$ and $9.$ what is the smallest possible value of $n?$