The number 31564 (thirty-one thousand five hundred sixty-four) is written in Roman numerals as follows: XXXIDLXIV