Calculate the sum of long numbers