solved sum of integers