The number 40471 (forty thousand four hundred seventy-one) is written in Roman numerals as follows: XLCDLXXI