You are viewing a single comment's thread. Return to all comments →
chars = list(input().strip()) print(''.join( sorted( sorted( sorted(chars), key=lambda x: 1-ord(x)%2 if ord(x)//16==3 else ord(x) ), key=lambda x: ord(x)//32, reverse=True )))
Seems like cookies are disabled on this browser, please enable them to open this website
ginortS
You are viewing a single comment's thread. Return to all comments →