The number 51627 (fifty-one thousand six hundred twenty-seven) is written in Roman numerals as follows: LIDCXXVII