The number 38964 (thirty-eight thousand nine hundred sixty-four) is written in Roman numerals as follows: XXXVIIICMLXIV