The number 5174 (five thousand one hundred seventy-four) is written in Roman numerals as follows: VCLXXIV