import sys, stringsum = 0while 1: line = sys.stdin.readline() if not line: break sum = sum + string.atoi(line[:-1]) print sum