A = sorted(input(),reverse=True) print(''.join(A))