Descending order

As you are already familiar with split() for strings and some utility functions for lists, now you can process inputs that have multiple values on a single line.
Given several numbers on a single line, your task is to sort them in descending order and print them on a single line in the output.
5 1 4 3 0 -1
5 4 3 1 0 -1


Time limit: 2 seconds

Memory limit: 512 MB

Output limit: 1 MB

To check your solution you need to sign in
Sign in to continue