Find all palindromic numbers between 0 and n (0<n<=1,000,000,000).