The number 18727 (eighteen thousand seven hundred twenty-seven) is written in Roman numerals as follows: XVIIIDCCXXVII