The number 987271 (nine hundred eighty-seven thousand two hundred seventy-one) is written in Roman numerals as follows: CMLXXXVIICCLXXI