The number 317495 (three hundred seventeen thousand four hundred ninety-five) is written in Roman numerals as follows: CCCXVIICDXCV