def print_Roman(number):
    num=[1,4,5,9,10,40,50,90,100,400,500,900,1000]
    sym=['I','IV','V','IX','X','XL','L','XC','C','CD','D','CM','M']
    i=12
    while number:
        div=number//num[i]
        number %= num[i]
        while div:
            print(sym[i],end="")
            div-=1
        i-=1
number=3549
print("Roman number is : ",end="")
print_Roman(number)