The number 38471 (thirty-eight thousand four hundred seventy-one) is written in Roman numerals as follows: XXXVIIICDLXXI