The number 34840 (thirty-four thousand eight hundred forty) is written in Roman numerals as follows: XXXIVDCCCXL