Read integers until the user enters -1. Compute and print the integer mean of all numbers read (not counting -1). You may assume there is at least one number before -1.
One or more integers, one per line, ending with -1.
Print the integer mean of the numbers read.
Input:
5
10
15
-1
Output:
10