rebol[]while [a: input] [w: 0 foreach i a[w: w + to-integer i]print to-char w / length? a]