#
# File:    isumit.py
# Purpose: to sum the integers from stdin
# Author:  pc2@ecs.csus.edu or http://www.ecs.csus.edu/pc2
#
# $Id$
# * TODO cause tle by sleeping/running for a long time
#

import sys

# softspace required to avoid extra space after print
# sys.stdout.softspace=0

hand = sys.stdin

sum = 0

for line in hand .readlines():
  num = int(line);
  if num > 0:
    sum += num

sum += 1000
print("The sum of the integers is %s"% sum)

# eof sumit.py $Id$
