The number 24027 (twenty-four thousand twenty-seven) is written in Roman numerals as follows: XXIVXXVII