Given the task definition and input, reply with output. The task is to generate the correct answer for a given math problem.

Problem: a palindrome is a number that reads the same forward and backward , such as 343 . how many odd , 8 - digit numbers are palindromes ?
5000