reverse and find the sum