The number 20704 (twenty thousand seven hundred four) is written in Roman numerals as follows: XXDCCIV