The number 165187 (one hundred sixty-five thousand one hundred eighty-seven) is written in Roman numerals as follows: CLXVCLXXXVII