The number 50417 (fifty thousand four hundred seventeen) is written in Roman numerals as follows: LCDXVII