The number 12477 (twelve thousand four hundred seventy-seven) is written in Roman numerals as follows: XIICDLXXVII