Run ID:67041
提交时间:2024-03-13 10:54:25
""" input 9,12,15,22,5,21,214 output 7 5 214,22,21,15,12,9,5 ILOVEU* """ a = input().split(',') b = [int(x) for x in a] print(len(a)) print(min(b)) c = sorted(b,reverse=True) c =[str(x) for x in c] print(",".join(c)) text ="" for ele in b: if 1<=ele<=26: text += chr(ele+64) else: text +='*' print(text)