Let $K$ be a field, $a_1,a_2,\cdots,a_n \in K$. Prove that the ideal $$(X_1-a_1,\cdots,X_n-a_n)$$ is maximal in $K[X_1,\cdots,X_n]$.
I tried proving that the only elements outside the ideal are the invertibles of $K$ (I should still prove that this implies maximality, but it shouldn't be too difficult).
Is there a better strategy, or another stategy?