Adding and competing question 24. Sum up the given number in the file