The number 51712 (fifty-one thousand seven hundred twelve) is written in Roman numerals as follows: LIDCCXII