# your code goes herea = input()x = a.replace(' ', '')print(sorted(x)) x = int(x)print(x)
3 2
['2', '3'] 32
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!