Select the smallest 5-digit number