The number 39861 (thirty-nine thousand eight hundred sixty-one) is written in Roman numerals as follows: XXXIXDCCCLXI