1. Problem 문제 확인하기 2. Solution S = '' while 1: try: S += input() except: break print(sum(map(int, S.split(','))))