The number 5287 (five thousand two hundred eighty-seven) is written in Roman numerals as follows: VCCLXXXVII