For i=1 to n
j = 1
a(j)=a(j)+1
Do While a(j)>7
a(j)=0 : j=j+1 : a(j)=a(j)+1
Loop
Next i
当n=102时,执行程序结束后数组a中各元素相加的和为( )