The number 987671 (nine hundred eighty-seven thousand six hundred seventy-one) is written in Roman numerals as follows: CMLXXXVIIDCLXXI