how to get the sum of numbers