The number 39870 (thirty-nine thousand eight hundred seventy) is written in Roman numerals as follows: XXXIXDCCCLXX