The number 12371 (twelve thousand three hundred seventy-one) is written in Roman numerals as follows: XIICCCLXXI