Solved SMPSUM using C#.