The number 312165 (three hundred twelve thousand one hundred sixty-five) is written in Roman numerals as follows: CCCXIICLXV