out.write(i)

if(i=0) out.write(”,”)