The number 165021 (one hundred sixty-five thousand twenty-one) is written in Roman numerals as follows: CLXVXXI