The number 40595 (forty thousand five hundred ninety-five) is written in Roman numerals as follows: XLDXCV