The number 316027 (three hundred sixteen thousand twenty-seven) is written in Roman numerals as follows: CCCXVIXXVII