How To Calculate The Sum