The number 27031 (twenty-seven thousand thirty-one) is written in Roman numerals as follows: XXVIIXXXI