#加入列表后排序 while True: try: numStr = int(input()) cur = 0 list1 = [] while(cur < numStr): list1.append(input()) cur += 1 list1.sort() for i in list1: print(i) except: break
#加入列表后排序 while True: try: numStr = int(input()) cur = 0 list1 = [] while(cur < numStr): list1.append(input()) cur += 1 list1.sort() for i in list1: print(i) except: break