numbers = []
while(True):
input = raw_input()
if input.upper() == "STOP":
break
numbers.append(int(input))
print "numbers count = %s" % len(numbers)
print "Max number = %d" % max(numbers)
print "Min number = %d" % min(numbers)
print "Sum numbers = %d" % sum(numbers)