The number 38951 (thirty-eight thousand nine hundred fifty-one) is written in Roman numerals as follows: XXXVIIICMLI