import sys read = sys.stdin.buffer.read readline = sys.stdin.buffer.readline readlines = sys.stdin.buffer.readlines N = read().rstrip().decode() answer = ''.join(sorted(N, reverse=True)) print(answer)