The number 38371 (thirty-eight thousand three hundred seventy-one) is written in Roman numerals as follows: XXXVIIICCCLXXI