How many five-digit numbers are there which are written in the same from left to right and from right to left? For example the numbers 54345 and 12321 satisfy the condition, but the numbers 23423 and 56789 do not.