Select the greatest 5-digit number