The number 10387 (ten thousand three hundred eighty-seven) is written in Roman numerals as follows: XCCCLXXXVII