sum-of-distinct-elements