The number 166171 (one hundred sixty-six thousand one hundred seventy-one) is written in Roman numerals as follows: CLXVICLXXI