The number 40618 (forty thousand six hundred eighteen) is written in Roman numerals as follows: XLDCXVIII