go to post Paul Collins · Feb 2, 2022 size 62 Class CodeGolf.PairedOpposites{ ClassMethod Solve(o As %String) As %Integer{s res=0 f i=1:1:$l(o,",") s res=$p(o,",",i)+res q res} }