The number 838522 (eight hundred thirty-eight thousand five hundred twenty-two) is written in Roman numerals as follows: DCCCXXXVIIIDXXII