The number 34140 (thirty-four thousand one hundred forty) is written in Roman numerals as follows: XXXIVCXL