def arrange(inlist):
    return ''.join(reversed(sorted([str(i) for i in inlist])))
print arrange([50,2,1,9])
print arrange([4,50,5])