The number 987364 (nine hundred eighty-seven thousand three hundred sixty-four) is written in Roman numerals as follows: CMLXXXVIICCCLXIV