The number 40257 (forty thousand two hundred fifty-seven) is written in Roman numerals as follows: XLCCLVII