The number 36671 (thirty-six thousand six hundred seventy-one) is written in Roman numerals as follows: XXXVIDCLXXI