Capital One Interview Question

Return the sums of something