Algorithm/lanqiao/series13sheng/__init__.py

11 lines
194 B
Python
Raw Normal View History

2022-04-09 12:19:47 +08:00
import io
import sys
sys.stdin = io.StringIO('WHERETHEREISAWILLTHEREISAWAY')
s_in = input()
l = list(s_in)
l.sort()
print(''.join(l))
assert 'AADDDDDGGOOOOPSTUUYYY' == 'AADDDDDGGOOOOPSTUUYYY'