The number 10227 (ten thousand two hundred twenty-seven) is written in Roman numerals as follows: XCCXXVII