a = int(input()) ##输入一个整数 3 arr = list(map(int,input().strip().split())) #输入一行整数 1 2 3 4 ## 如果不知道输入什么时候停止 try: while True: line = input().strip() if line == '': break ###进行接下来的输入 except: pass