Outputs sum of all numbers in the iteration