How many four-digit numbers from 0000 to 9999 (we complete a one-, two-, or three-digit number to a four-digit one by writing zeros in front of it) are there such that the sum of their first two digits is equal to the sum of their last two digits?

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