An integer between $$1000$$ and $$9999,$$ inclusive, is called balanced if the sum of its two leftmost digits equals the sum of its two rightmost digits. How many balanced integers are there?

(第二十一届AIME1 2003 第9题)