# -*- coding:utf-8 -*- if __name__ == '__main__': n = input() print("".join(reversed(sorted(n))))