var s=" "*8 while(0<1)println{s=""++readLine.zip(s).map(_+""max) s}