The number 165227 (one hundred sixty-five thousand two hundred twenty-seven) is written in Roman numerals as follows: CLXVCCXXVII