fork download
  1. s=input().strip('[]')
  2. x=list(map(int,s.split(',')))
  3. x.sort()
  4. x_list=''.join(map(str,x))
  5. result=int(x_list)
  6. print(result)
Success #stdin #stdout 0.02s 9340KB
stdin
[1,2,3,4,5]
stdout
12345