If an integer $n$, greater than 8, is a solution of the equation $x^2-ax+b=0$ and the representation of $a$ in base $n$ is 18, then what is the base $n$ representation of $b$?

Somebody please help!!!!