Integer to Roman numeral

In this challenge, you'll convert a really big integer into a Roman numeral. The Wikipedia page on Roman numerals has some useful background information.

Convert the following integer to a Roman numeral:

38249