The number 140517 (one hundred forty thousand five hundred seventeen) is written in Roman numerals as follows: CXLDXVII