do local a,s={},io.stdin:read("*l") for i=1,#s do a[i]=s:sub(i,i) end table.sort(a, function (a,b) return a>b end) print(table.concat(a)) end