favorite We need a little bit of your help to keep things running, click on this banner to learn more

PP2. Week 2: March 8 - 14

Sum and amount

The sequence of integers is given. Find their amount and sum.


In one line the integers are given, each of the numbers is no more than 100 by absolute value.


Print the amount and the sum of all elements in the sequence.

Time limit 1 second
Memory limit 128 MiB
Input example #1
1 2 3 4 5
Output example #1
5 15