The number 38958 (thirty-eight thousand nine hundred fifty-eight) is written in Roman numerals as follows: XXXVIIICMLVIII