nums=[] while True: try: nums.append(int(input())) except: break count1,count2,plus=0,0,0 for i in nums: if ...