We glue together $990$ one-inch cubes into a $9 \times 10 \times 11$ inch rectangular solid. Then we paint the outside of the solid. How many of the original $990$ cubes have just one of their sides painted?

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