fork download
  1. a=[]
  2. a=list(map(int, input().split(',')))
  3. a.sort(reverse=True)
  4. print (a)
Success #stdin #stdout 0.01s 27616KB
stdin
0,0,1,1,3,5,6,7,7
stdout
[7, 7, 6, 5, 3, 1, 1, 0, 0]