The number 3958 (three thousand nine hundred fifty-eight) is written in Roman numerals as follows: MMMCMLVIII