Run ID:67123

提交时间:2024-03-14 17:05:31

nums = input().split('5') def convert(a): b =[] for ele in a: if ele: b.append(int(ele)) b.sort() b = [str(x) for x in b] return b res = convert(nums) print(' '.join(res))