The number 50217 (fifty thousand two hundred seventeen) is written in Roman numerals as follows: LCCXVII