The number 9781 (nine thousand seven hundred eighty-one) is written in Roman numerals as follows: IXDCCLXXXI