The number 12582 (twelve thousand five hundred eighty-two) is written in Roman numerals as follows: XIIDLXXXII