第一题输入输出调了一个小时。。最后用python3成功了
while True: try:
        input_list.append(list(map(int,input().split(",")))) except: break