The number 317027 (three hundred seventeen thousand twenty-seven) is written in Roman numerals as follows: CCCXVIIXXVII