l = sorted(list(input())) print(*l[::-1],sep='')