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