function out=mysum(n) a=0; b=0; while a