The number 845087 (eight hundred forty-five thousand eighty-seven) is written in Roman numerals as follows: DCCCXLVLXXXVII