CodeLab Academy 📞 9936 6696
← List Python · Level 9: Functions and dicts Code · 90 points ← #829 #831 →

#830. Arabic to Roman

You get a number from 1 to 3999. Print it as a Roman number. ### Input One integer. ### Output A Roman number.

Examples

Input
2187
Output
MMCLXXXVII
Input
1089
Output
MLXXXIX

💡 You can solve it with Python, JavaScript or blocks. Read the input line by line with input(). Don't print a question (like input("Number: ")). Print exactly what the output asks for, nothing more.

🔒 You can solve the first 3 problems without an account. Sign up for free to solve this one!